I'm a newbie trying to install PHP
I used apt to install libxml2, but when I try to configure PHP, it returns the following error...
checking whether to enable LIBXML support... yes checking libxml2 install dir... no configure: error: xml2-config not found. Please check your libxml2 installation.
When I run locate libxml2, I can see the following...
/var/cache/apt/archives/libxml2-dev_2.4.19-4woody1_i386.deb /var/cache/apt/archives/libxml2_2.4.19-4woody1_i386.deb /var/lib/dpkg/info/libxml2.list /var/lib/dpkg/info/libxml2.postrm
A simpler solution is to install libxml2 developement packages;
apt-get install libxml2-dev
This will fix the dependency issue on debian/ubuntu derivatives.
First,you assure build-essential has been installed.
apt-get install build-essential