I am running EE 5.3.0 and need to upgrade PHP from 5.6 to 7.2 but when I make the change in cPanel the site won’t load and I get the following error
Fatal error:
Uncaught Error: Class 'PDO' not found in /home/myDomain/public_html/eesystem/ee/legacy/database/drivers/mysqli/mysqli_connection.php:71 Stack trace:
#0 /home/myDomain/public_html/eesystem/ee/legacy/database/DB_driver.php(88): CI_DB_mysqli_connection->open()
#1 /home/myDomain/public_html/eesystem/ee/legacy/database/DB_driver.php(265): CI_DB_driver->initialize()
#2 /home/myDomain/public_html/eesystem/ee/legacy/database/DB_driver.php(180): CI_DB_driver->simple_query('SELECT LOWER(mo...')
#3 /home/myDomain/public_html/eesystem/ee/legacy/database/DB_active_rec.php(1138): CI_DB_driver->query('SELECT LOWER(mo...')
#4 /home/myDomain/public_html/eesystem/ee/legacy/models/addons_model.php(215): CI_DB_active_record->get('modules')
#5 /home/myDomain/public_html/eesystem/ee/EllisLab/ExpressionEngine/Service/Addon/Addon.php(57): Addons_model->get_installed_modules()
#6 /home/myDomain/public_html/eesystem/ee/EllisLab/ExpressionEngine/Service/Addon/Factory.php(85): EllisLab\ExpressionEngine\Se in /home/myDomain/public_html/eesystem/ee/legacy/database/drivers/mysqli/mysqli_connection.php on line 71
When I run ee_wizard with the same configuration I get the following error:
Fatal error: Uncaught Error: Class 'PDO' not found in /home/myDomain/public_html/ee_wizard/index.php:243 Stack trace: #0 /home/myDomain/public_html/ee_wizard/index.php(131): check_db(Array) #1 {main} thrown in /home/myDomain/public_html/ee_wizard/index.php on line 243
This only happens on one site that is hosted on Media Temple. I am posting this here because Media Temple said it wasn’t their responsibility to troubleshoot errors.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.