When php5.5.6 is installed in Linux, the following error occurs: libxml2.config is missing, but libxml2 has been installed and can be found in the directory. it has not been used in Linux, now the project needs to be, forget to help ......
Reply to discussion (solution)
Hurtful Linux...
Reinstall libxml2 and libxml2-devel packages
Yum install libxml2
Yum install libxml2-devel-y
Find the xml2-config file after installation
[Root @ test31 php-5.4.1] # find/-name "xml2-config"
/Usr/bin/xml2-config
Reinstall libxml2 and libxml2-devel packages
Yum install libxml2
Yum install libxml2-devel-y
Find the xml2-config file after installation
[Root @ test31 php-5.4.1] # find/-name "xml2-config"
/Usr/bin/xml2-config
This problem has been fixed, but the php file cannot be parsed after apache is restarted.
I learned. It's just about LUNIX!
Use phpinfo ();
Check whether it is loaded.
Command line: php-m can also
Reinstall libxml2 and libxml2-devel packages
Yum install libxml2
Yum install libxml2-devel-y
Find the xml2-config file after installation
[Root @ test31 php-5.4.1] # find/-name "xml2-config"
/Usr/bin/xml2-config
This problem has been fixed, but the php file cannot be parsed after apache is restarted.
That is the problem of apache and php configuration.
Like windows, php and related modules need to be loaded.
Use phpinfo ();
Check whether the file has been loaded [/quote
That is, phpinfo () cannot come ....
If the boss has already gotten it out, I will close it...