Problem: When installing PHP under linux, after running ./configure and then running make, an error is reported: no target specified and no makefile found. stop
Solution: This is that the configure is not successful, look at the reported errors, and then solve each error once, and then reconfigure, the problem can be solved
Then when viewing the PHP installation, I found an error
configure: error: xml2-config not found. Please check your libxml2 installation
Check if libxm package is installed
[root@XKWB3403 php-5.3.8]# rpm -qa |grep libxml2
libxml2-2.6.26-2.1.12
libxml2-python-2.6.26-2.1.12
Reinstall libxml2 and libxml2-devel packages
yum install libxml2
yum install libxml2-devel -y
After installation, check whether the xml2-config file exists
[root@XKWB3403 php-5.3.8]# find / -name "xml2-config"
/usr/bin/xml2-config
Reinstall php if it exists