Updating PHP? Help!

kylelnsn

Verified User
Joined
May 3, 2007
Messages
12
Hi

I have been trying to update PHP to version 5.2.4 using this guide in the knowledge base; http://help.directadmin.com/item.php?id=135

Although it wont work i get this error when using ./build php n

Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.

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

Hope its not just me being stupid

so can you help me to update the PHP, also if there is a better way more FOOL proof then can you tell me please

Thanks A LOT

Kyle
 
Last edited:
checking libxml2 install dir... no

Did you actually install libxml2 and libxml2-devel?

For RedHat based systems:
Code:
yum -y install libxml2-devel libxml2

It has to be installed before php can use it.
 
ok well i did that and it all went without a hitch! but now i go to a site and it shows nothing can you tell me how to recompile the php? and any ideas

thanks
 
yeah did all the changes and overwrite it

yeah did all the changes and overwrite httpd and all seemed fine, but now sites show nothing?
 
Code:
cd /usr/local/directadmin/customapache
./build clean
./build php n
 
Back
Top