sqlite and pdo_mysql errors after Apache 4 upgrade
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:
- 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
Please sign in to leave a comment.
Comments
0 comments