Facing the end-of-life of PHP 8.1, I wanted to upgrade the PHP installation to PHP 8.3 - an attempt that ended in failure. I took the opportunity to update a rather old J4.x installation to the most recent J5.2.1 release. But also with the most up-to-date installation, the result of a new upgrade attempt was an orange screen of pain (500 error). With PHP 8.1, both the old and the new release work flawlessly. An attempt to change the database driver in the Joomla backend was without success.
The error log states:
Uncaught Throwable of type Joomla\Database\Exception\UnsupportedAdapterException thrown with message "The MySQLi extension is not available". Stack trace: #0 [ROOT]/libraries/vendor/joomla/session/src/Handler/DatabaseHandler.php(223): Joomla\Database\Mysqli\MysqliDriver->connect()
#1 [internal function]: Joomla\Session\Handler\DatabaseHandler->open()
It's worth noting that the hosting provider has the PHP mysqli extension installed, as well as the following extensions: mysqlnd, pdo, pdo_sqlite (amongst many others).
Any suggestions?
Thanks.
The error log states:
Uncaught Throwable of type Joomla\Database\Exception\UnsupportedAdapterException thrown with message "The MySQLi extension is not available". Stack trace: #0 [ROOT]/libraries/vendor/joomla/session/src/Handler/DatabaseHandler.php(223): Joomla\Database\Mysqli\MysqliDriver->connect()
#1 [internal function]: Joomla\Session\Handler\DatabaseHandler->open()
It's worth noting that the hosting provider has the PHP mysqli extension installed, as well as the following extensions: mysqlnd, pdo, pdo_sqlite (amongst many others).
Any suggestions?
Thanks.
Statistics: Posted by dudeldu — Sun Nov 17, 2024 10:05 pm