This article is also available in our new Knowledge Base: PHP extension page in Zend Server displays "Warning: The extension <extension_name> is not loaded"
When viewing the PHP Extension page in Zend Server (Configuration > PHP), one of the extensions shows an orange "Warning" status and has the message "Warning: The extension <extension_name> is not loaded."
Zend Server 6
Check the apache error logs for further error messages. The location of the apache logs will vary depending on the operating system and the apache configuration. The following example was found in the Apache logs in RHEL 6.
<b>Warning</b>: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php_extensions/pdo_dblib.so' - libsybdb.so.5: cannot open shared object file: No such file or directory in <b>Unknown</b> on line <b>0</b><br />
In the case of a missing library, use the distribution's package management tools to verify which package should provide the file. For many files it is possible to reinstall the package without side effects. If there is any doubt, please contact the support team for verification.
Continuing with the RHEL 6 example, the following correctly installs the missing library.
# yum provides /usr/local/zend/lib/php_extensions/pdo_dblib.so # yum reinstall php-5.3-pdo-dblib-zend-server # service zend-server restart
In Linux installations, Zend Server consists of many packages. If one of the files is removed after installation, reinstalling the package will put the file back in the proper location.