PDA

View Full Version : PHP5 (CLI) 5.2.9 to 5.2.17 update is available.



zEitEr
05-18-2011, 02:37 AM
Hello

I see


Latest version of PHP (CLI): 5.2.17
Installed version of PHP (CLI): 5.2.9

PHP5 (CLI) 5.2.9 to 5.2.17 update is available.

Latest version of Atmail: 1.04
Installed version of Atmail: 1.04


with


# ./build update && ./build versions
--2011-05-18 16:27:02-- http://files6.directadmin.com/services/custombuild/1.2/custombuild.tar.gz

while in options.conf I have:


# grep ^php options.conf
php5_cli=no
php5_cgi=no
php4_cli=no
php4_cgi=no
php_ini=yes
php_ini_type=recommended
phpmyadmin=yes
php5_ver=5.2
php6_cli=yes
php6_cgi=no


So php5 is completely disabled. But I still have got: PHP5 (CLI) 5.2.9 to 5.2.17 update is available.

The first question: How to fix it without upgrading PHP5?

The second question: If I upgrade PHP5 CLI to the latest release in 5.2 branch, will PHP5 CGI still stay untouched?

smtalk
05-18-2011, 02:48 AM
The following is set:


php6_cli=yes


It detects that /usr/local/bin/php exists, checks if it's PHP5 or PHP6, and tells you if an update is available. CLI update does not touch any of CGI files.

zEitEr
05-18-2011, 02:56 AM
Thank you Martynas for your quick answer.

I've got one more question. I'm using suPHP and with this settings:


php5_cli=yes
php5_cgi=no

I want to update only PHP5 CLI, will this apply any changes to Apache's configs in order to enable mod_php by command


./build php5-cli

?

smtalk
05-18-2011, 03:05 AM
No, it won't touch apache configs, only mod_php module might be added to /etc/httpd/conf/httpd.conf by the PHP installation itself, so check if it's not enabled here and that's it :) That's why it's under section "Recommended for experienced users only".