Why does my php_error_log say that my site is missing the XML library?
Applies to: Grid System
If you've upgraded your site to our PHP 5.2 environment and you are seeing error logs in /logs/php_error_logs that resemble the following:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/libexec/php5/xml.so' -/usr/local/libexec/php5/xml.so: cannot open shared object file: No such file or directory in Unknown on line 0
then it may seem like the XML library is missing when it's not.
Explanation: In PHP 5.2, the XML library (xml.so) is built-in to the core of PHP--so you don't need to enable it because it's always already on. However, when a site is upgraded to our new hosting environment, we preserve your PHP configuration files from the old PHP environment, which provide xml.so as a dynamic extension (IE, not "built-in"). When the old configuration files look for xml.so in the new environment's dynamic extension library, they can't find it and throw the PHP Warnings such as the above.
To get rid of the errors: If you want to get rid of these php_error_log errors, you can replace your /conf/php.ini with the paradigm php.ini for PHP 5.2: /etc/php5/cgi/php.ini.
4295/0%Last update: 2010-09-27 15:44
Author: FAQ Admin
You can comment this FAQ