Hi. I have an application running CakePHP 2.6 with PHP 5.3.17. I recently upgraded my PHP version to PHP 5.6.40. Unfortunately, the site cannot be reached after the upgrade.
Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created.
Exception Attributes: array (
'class' => 'Mysql',
'message' => 'Selected driver is not enabled',
'enabled' => false,
)
What does the php.ini line look like? Assuming that you restarted your web server after that? Have you confirmed (with phpinfo for example) that it’s enabled (maybe it’s using a different php.ini file than you think it is?) when running in a web page context?