PHP Startup Error: Unable to Load Dynamic Library
The error "PHP Startup: Unable to load dynamic library" in your error_log means PHP is trying to load an extension that is not installed or not compatible with your current PHP version.
Common Causes
- PHP version change: Extensions compiled for one PHP version will not work with another. If you recently changed PHP versions in MultiPHP Manager, some previously enabled extensions may not be available for the new version.
- Custom php.ini referencing a missing extension: If you have a custom php.ini or .user.ini file that loads an extension with
extension=modulename.so, and that module does not exist for your PHP version, this error occurs.
How to Fix
- Check which extension is failing by reading the full error message (it includes the filename)
- If you have a custom
.user.iniorphp.iniin your public_html, remove or comment out the line that loads the missing extension - If you need the extension, check cPanel > MultiPHP INI Editor to see which extensions are available for your PHP version and enable it there
If you are unsure which extension is causing the problem, contact support with the error message and we will resolve it.
