Uname -a answered: Linux server.localdomain 2.6.18-92.1.10.el5 #1 SMP Tue Aug 5 07:42:41 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux install centos5.2 has followed with http://www.howtoforge.com/perfect-server-centos-5.2 It stop here: .................... Configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... no checking for xml2-config path... /usr/bin/xml2-config checking whether libxml build works... no configure: error: build test failed. Please check the config.log for details. ERROR: Could not configure PHP cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory ......................... and how can i continue?
but libxml2 has already been installed. yum install libxml2* Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * dtc: ftp.gplhost.com * base: ftp.hostrino.com * updates: ftp.hostrino.com * addons: ftp.hostrino.com * extras: ftp.hostrino.com Setting up Install Process Parsing package install arguments Package libxml2-python - 2.6.26-2.1.2.1.x86_64 is already installed. Package libxml2 - 2.6.26-2.1.2.1.i386 is already installed. Package libxml2 - 2.6.26-2.1.2.1.x86_64 is already installed. Package libxml2-devel - 2.6.26-2.1.2.1.x86_64 is already installed. Package libxml2-devel - 2.6.26-2.1.2.1.i386 is already installed. Nothing to do
I reinstalled my system with i686 mode,not X86_64 mode,and then installed ISPConfig successful. I think it may be the php version with ISPConfig is not for X86_64 mode.
The PHP version is the official version from php.net, there are n other vewrsions and it compiles fine on the 64 bit versions of several linux distributions. Your proiblem could have been solved most likely by symlinking the lib as I posted above.
Hi, I have the same problem. I'm on Centos 5, 64 bits. I have libxml2.so in /usr/lib/ Any idea ? Thanks
1) Make sure that libxml2-devel is installed: yum install libxml2-devel 2) Please post the output of: ls -la /usr/lib/libxml* 3) Post the output of: updatedb locate xml2-config
Thanks for helping libxml2 was already installed, and I had this message : /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz in config.log So with the help of that website : http://hostingaldescubierto.com/wor...ompatible-usrliblibzso-when-searching-for-lz/, I've solved my problem. yum erase zlib-devel yum install zlib-devel yum install libxml2-devel
works for me I ran into the same problem - trying to cfg PHP 5.2.6 on Centos 5.2, after clean install and yum -y upgrade. Removed and reinstalled the following... Removing: zlib-devel i386 1.2.3-3 installed 248 k Removing for dependencies: libpng-devel i386 2:1.2.10-7.1.el5_0.1 installed 424 k libpng-devel x86_64 2:1.2.10-7.1.el5_0.1 installed 472 k libxml2-devel i386 2.6.26-2.1.2.4 installed 10 M libxml2-devel x86_64 2.6.26-2.1.2.4 installed 11 M libxslt-devel x86_64 1.1.17-2.el5_2.2 installed 1.1 M libxslt-devel i386 1.1.17-2.el5_2.2 installed 1.0 M like so: # yum -y install zlib-devel # yum -y install libxml2-devel # yum -y install libpng-devel # yum -y install libxslt-devel (note you'd only need to reinstall any dependent packages that were removed...) then I was able to configure PHP with libxml2