PDA

View Full Version : After build of PHP 5, PHP 5 update still available?



sdible
02-26-2009, 05:08 PM
So, I've now been successfully using custombuild to keep my system up to date and I've worked through most of my bugs.

When I do a ./build versions, I constantly see this for PHP5



Latest version of PHP (CLI): 5.2.8
Installed version of PHP (CLI): 5.2.6

PHP5 (CLI) update is available.


I've tried ./build PHP as well as ./build update_versions and that update always remains. What am I doing wrong?

Here is my options.conf



#PHP settings. default_php possible values - 4 or 5
default_php=5
php4_cli=no
php4_cgi=no
php5_cli=yes
php5_cgi=no
zend=no

#Possible values - 4.1, 5.0 or 5.1
mysql=5.0
mysql_inst=no
mysql_backup=no

#Possible values - 1.3, 2.0 or 2.2
apache_ver=1.3

#Web applications
phpmyadmin=yes
squirrelmail=yes
roundcube=yes
uebimiau=no

#Mail options
exim=yes
mail-header-patch=yes
dovecot=yes

#FTP options
proftpd=yes

#CustomBuild options
autover=yes
clean=yes

#CustomBuild 1.2 settings
php6_cli=no
php6_cgi=no
php_ini=no
#Possible values - recommended or dist
php_ini_type=recommended
cleanapache=no
fileserver=1
eximconf=no
jail=no
bold=yes
atmail=no
cron=no
email=email@domain.com
notifications=yes
updates=no
custombuild=1.2
awstats=yes
webalizer=yes
clean_old_webapps=yes
webapps_updates=yes

sdible
02-26-2009, 05:15 PM
I see that at the end of a ./build php, I get the following:



Build complete.
Don't forget to run 'make test'.

Make Complete
Copying php.ini..
/usr/local/lib/php.ini already exists, skipping.
Increasing memory limit to 20M...
Installing php...
Installing PHP SAPI module: apache
[activating module `php5' in /etc/httpd/conf/httpd.conf]
cp libs/libphp5.so /usr/lib/apache/libphp5.so
cp: cannot create regular file `/usr/lib/apache/libphp5.so': Text file busy
apxs:Break: Command failed with rc=1
make: *** [install-sapi] Error 1

*** The install has failed, do you want to try to install it again? (y,n):

sdible
02-26-2009, 10:37 PM
Interesting...

My Apache crapped out tonight with a PHP error... So I did another update (which I always do) and PHP 5.2.9 was available.

I did a ./build php -n and all is good now.

:)