PHP 5 - Configuring for Apache and MySQL

admin

Administrator
Staff member
I had downloaded PHP-5.12.

I had unpack the .tar.gz file

Probblem arises when I try to build php for Apache and MySQL aupport:

./configure --with-mysql --with-apxs2=/usr/local/apache/bin/apxs

I Message displayed :

configure : error: Libxml2 version 2.6.11 or greater required

What should I do?

Thank uDownload libxml2 and recompile....
libxml2 v2.6.11 (RPM) (<!-- m --><a class="postlink" href="http://apt.sw.be/redhat/el3/en/i386/RPMS.dag/libxml2-2.6.16-1.1.el3.rf.i386.rpm">http://apt.sw.be/redhat/el3/en/i386/RPM ... f.i386.rpm</a><!-- m -->)

Or, alternatively just download the newest PHP release (5.1.2) which seems to solve this error, but possibly Windows only....
 
Back
Top