Getting Started

ID #381

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/' -/usr/local/libexec/php5/ 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 ( 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 as a dynamic extension (IE, not "built-in"). When the old configuration files look for 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.

Last update: 2010-09-27 15:44
Author: FAQ Admin
Revision: 1.2

Digg it! Share on Facebook Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You can comment this FAQ