How to Upgrade PHP4 to PHP 5.2.0 on Apache 2.0.59 Server

teknobox

New member
Joined
Dec 13, 2006
Messages
3
How to Upgrade PHP4 to PHP 5.2.0 on Apache Apache 2.0.59 Server

------------------------------------------------------------------

Hi,
I have next configuration: PHP 4.4.4, Apache 2.0.59 Server

how i can upgrade PHP 4.4.0 to PHP 5.2.0 ?

I don't understand make, install and other linux comand. May be easy way with ./build php?

Help me please,

Fırat DAL


i make

cd /usr/local/directadmin/customapache
wget http://files.directadmin.com/services/customapache/php-5.2.0.tar.gz

and problem !!!...

Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
configure: error: libxml2 version 2.6.11 or greater required.

*** There was an error while trying to configure php. Check the configure.php file


???
 
Make sure you have libxml2 and libxml2-devel installed, you can do this by typing "yum install libxml2 libxml2-devel" or if it is already installed "yum update libxml2 libxml2-devel" then try the configure command again.
 
if you are compiling php for apache 2, remember to use:
./build php_ap2 instead. And also, change the version in the build file.
 
Back
Top