We recently upgraded WHM to use Apache 4. After the upgrade one of the websites has started throwing 500 errors. If I turn on error reporting nothing shows up but if I look in the error_log I see this every time I try to access the page:
[03-Oct-2018 12:19:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/sqlite.so' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
[03-Oct-2018 12:19:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_mysql.so' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[03-Oct-2018 12:19:12 UTC] PHP Warning: Module 'PDO' already loaded in Unknown on line 0
[03-Oct-2018 12:19:12 UTC] PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
[03-Oct-2018 12:19:12 UTC] PHP Warning: Module 'PDO' already loaded in Unknown on line 0
[03-Oct-2018 12:19:12 UTC] PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
Things I have tried:
My guess on this is that when the new versions of php were installed that some module or setting was not set up correctly to mimick the old PHP5.5 setup. I now have it temporarily at 5.6 with the intent to go up to 7 once this error message is fixed. Switching to 7 right now has no effect.
Any ideas of other things to try would be greatly appreciated. Thank you!
[03-Oct-2018 12:19:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/sqlite.so' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
[03-Oct-2018 12:19:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_mysql.so' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[03-Oct-2018 12:19:12 UTC] PHP Warning: Module 'PDO' already loaded in Unknown on line 0
[03-Oct-2018 12:19:12 UTC] PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
[03-Oct-2018 12:19:12 UTC] PHP Warning: Module 'PDO' already loaded in Unknown on line 0
[03-Oct-2018 12:19:12 UTC] PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
Things I have tried:
- I renamed the existing php.ini files that were in the home folder and in the /administrator folders.
- I tried turning on error reporting both in the Joomla configuration file and also in the cpanel php options (nothing showed up either way).
- I removed the existing .htaccess file
My guess on this is that when the new versions of php were installed that some module or setting was not set up correctly to mimick the old PHP5.5 setup. I now have it temporarily at 5.6 with the intent to go up to 7 once this error message is fixed. Switching to 7 right now has no effect.
Any ideas of other things to try would be greatly appreciated. Thank you!