Reinstall Fedora Core 5 today, reinstall MySQL + Apache + PHP, and get the error message when configure PHP
<PRE> <code>./configure -- prefix =/usr/local/PHP -- With-apxs =/usr/local/Apache -- With-MySQL
Configure: Error: xml2-config not found. Please check your libxml2 installation.
</Code> </PRE>
Error cause, xml2-config this file not found.
/* I remember that this problem was not solved when I installed PHP last time. The reason is that I installed fc5 this time and there were a lot of things I didn't choose, so there was always a problem. */
Install libxml2. The fc5 installation CD provides many rpm packages. I use a DVD, which is located in/Media/Disk/Fedora/RPMs,
<PRE> <code>
CD/Media/Disk/Fedora/RPMS
Ls * libxml *
/* Find these two useful packages, libxml2-2.6.23-1.2.i386.rpm libxml2-devel-2.6.23-1.2.i386.rpm */
Rpm-IVH libxml2-2.6.23-1.2.i386.rpm
/* Prompt that I have already installed */
Rpm-IVH libxml2-devel-2.6.23-1.2.i386.rpm
</Code> </PRE>
Now I try again./configure -- prefix =/usr/local/PHP -- With-apxs =/usr/local/Apache -- With-MySQL
Okay, no problem,
Make
Make install
Installation Complete