PDA

View Full Version : update_versions problem



AxlF
12-10-2008, 09:16 AM
Hi,

following problem:


#./build versions
Latest version of PHP5 (CGI): 5.2.8
Installed version of PHP5 (CGI): 5.2.6

PHP5 (CGI) update is available.


I run:


./build update_versions
prometheus:/usr/local/directadmin/custombuild# ./build update_versions

Updating PHP5 (CLI)
File already exists: php-5.2.8.tar.gz
MD5 Checksum on php-5.2.8.tar.gz passed.
File already exists: php-5.2.8-mail-header.patch
MD5 Checksum on php-5.2.8-mail-header.patch passed.
Can not build PHP5 as CLI because it is not set in options.conf.




in my options.conf


#PHP settings. default_php possible values - 5 or 6
default_php=5
php5_cli=no
php5_cgi=yes
php6_cli=no
php6_cgi=no
php_ini=yes
#Possible values - recommended or dist
php_ini_type=recommended
zend=no



So, why tries custombuild to update the CLI version which is not configured to do so?

Regards,
AxlF

Peter Laws
12-10-2008, 09:43 AM
Try


./build php n

HTH

Note: I mis-read the post, sorry

smtalk
12-10-2008, 09:49 AM
It will be fixed soon, thank you for the report.

AxlF
12-10-2008, 10:11 AM
It will be fixed soon, thank you for the report.

Thank you for that wonderful script !!!