How can i update php 4.4.7 to the last php

AlphaFileHosting

Verified User
Joined
May 25, 2009
Messages
6
Hi,

My server : Cent Os
I use php 4.4.7 and MYSQL 5.0.37-standard.
I want update my php to the latest php version.

Can anybody help me please?
Is there any good how to guide.
 
cd /usr/local/directadmin/custombuild
./build update
./build set default_php=5
./build set default_php 5
./build set php5_cli yes
./build set php5_cgi no
./build set php4_cli no
./build set php4_cgi no

./build php y
./build mysql

When everything is done :
./build rewrite_confs

Now you should have PHP 5.2.9 running.
You can check that out by typing :
php -v | head -n1

Cheers!
 
I have do this how to : http://help.directadmin.com/item.php?id=135

İ get this error when restart httpd :

Code:
[Fri Jun 12 23:59:30 2009] [notice] mod_security/1.9.5 configured
[Fri Jun 12 23:59:30 2009] [warn] module php5_module is already loaded, skipping
[Fri Jun 12 23:59:30 2009] [warn] module mod_php5.c is already added, skipping
Failed loading /usr/local/ioncube/ioncube_loader_lin_4.4.so:  /usr/local/ioncube/ioncube_loader_lin_4.4.so: undefined symbol: zend_hash_add_or_update
PHP Warning:  PHP Startup: U‰åVSèíþÿÿ￾Ãî[: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0

But httpd and php is still working, what must i do to resolve this error?
 
Last edited:
I have update zend and ioncube, buw now i get the following error :

PHP:
PHP Warning:  PHP Startup: UåVSèíşÿÿÃî[: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0
 
Back
Top