I installed libxml2-2.6.19, and the problem about libxml when I configured php is gone. Thanks for your help. However, when I did # ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=~/xml/libxml2-2.6.19 ...... checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore. I tried to find mysql*.h, but I could not find it. Is there special configuration that I need to do when installed MySQL in order to use MySQL with PHP? I could run mysql on my Linux machine. I apologize for sending my question to this email group, but there are many apache experts are familiar with PHP and MySQL installations. Thanks, Joe --- "Ivan Barrera A." <Bruce@xxxxxx> wrote: > Aman Raheja wrote: > > I have noticed this with some other software on > redhat/fedora linux. > > try using the exact version and see if that works. > You might otherwise > > want to look into the script itself and do some > tweaking for it to > > accept what you are providing. > > on the other note you are on the wrong mailing > list - this is not an > > apache issue. Please try the php users list. > > Thanks > > - Aman Raheja > > http://www.techquotes.com > > > > In fedorish, or redhat systems, you must install the > -devel rpm's for > that lib. In this case libxml2-devel. That package > includes headers to > compile software using the lib. > > rpmbuild --rebuild just build binary rpm's from a > source rpm. Does not > install them. > > > > Joseph Lee wrote: > > > >> Hi, > >> > >> I have installed Apache and MySQL on my Linux > machine. > >> Now I am trying to install PHP5. I did > >> # configure --with-mysql > >> --with-apxs2=usr/local/apache2/bin/apxs > >> --with-libxml-dir=/usr/src/redhat/RPMS/i386 > >> > >> but it complained about > >> > >> configuring extensions > >> checking whether to enable LIBXML support... yes > >> checking libxml2 install dir... > >> /usr/src/redhat/RPMS/i386 > >> configure: error: libxml2 version 2.5.10 or > greater > >> required > >> > >> So I went to xmlsoft.org and downloaded > >> libxml2-2.6.11-1.src.rpm > >> > >> Then I did > >> # rpmbuild --rebuild libxml2-2.6.11-1.src.rpm > >> > >> but it still gave me "version 2.5.10 or greater > >> required" error. > >> Is it because my libxml2 was not updated, even > after I > >> did "rpmbuild --rebuild"? > >> > >> Thanks, > >> Joe > >> > > > > > > > --------------------------------------------------------------------- > > The official User-To-User support forum of the > Apache HTTP Server Project. > > See <URL:http://httpd.apache.org/userslist.html> > for more info. > > To unsubscribe, e-mail: > users-unsubscribe@xxxxxxxxxxxxxxxx > > " from the digest: > users-digest-unsubscribe@xxxxxxxxxxxxxxxx > > For additional commands, e-mail: > users-help@xxxxxxxxxxxxxxxx > > > > > > --------------------------------------------------------------------- > The official User-To-User support forum of the > Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for > more info. > To unsubscribe, e-mail: > users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: > users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: > users-help@xxxxxxxxxxxxxxxx > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx