Support

Akeeba Backup for Joomla!

#38247 The MySQLi extension for PHP is not installed or enabled.

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
3.10.11
PHP version
7.4
Akeeba Backup version
8.2.3

Latest post by teamtmedia on Wednesday, 04 January 2023 00:54 CST

teamtmedia

This is the output for a failed CRON job. Have confirmed with Rochen that everything is set as it should be. Thinking a corrupted upgrade to a file, but I don't know....or I wouldn't be here.

Thank you

 

Akeeba Backup CLI 8.2.3 (2022-12-05)
Copyright (c) 2006-2023 Akeeba Ltd / Nicholas K. Dionysopoulos
-------------------------------------------------------------------------------
Akeeba Backup is Free Software, distributed under the terms of the GNU General
Public License version 3 or, at your option, any later version.
This program comes with ABSOLUTELY NO WARRANTY as per sections 15 & 16 of the
license. See http://www.gnu.org/licenses/gpl-3.0.html for details.
-------------------------------------------------------------------------------

You are using Joomla! 3.10.11 on PHP 7.3.33 (cli)

Site paths determined by this script:
JPATH_BASE          : /home/tcxpybki/public_html
JPATH_ADMINISTRATOR : /home/tcxpybki/public_html/administrator



********** ERROR! **********

The MySQLi extension for PHP is not installed or enabled.

Technical information:

Code: 0
File: /home/tcxpybki/public_html/libraries/joomla/database/driver/mysqli.php
Line: 163

Stack Trace:

#0 /home/tcxpybki/public_html/libraries/joomla/database/driver/mysqli.php(252): JDatabaseDriverMysqli->connect()
#1 /home/tcxpybki/public_html/libraries/joomla/database/driver.php(1871): JDatabaseDriverMysqli->escape('component')
#2 /home/tcxpybki/public_html/libraries/src/Component/ComponentHelper.php(440): JDatabaseDriver->quote('component')
#3 [internal function]: Joomla\CMS\Component\ComponentHelper::Joomla\CMS\Component\{closure}()
#4 /home/tcxpybki/public_html/libraries/src/Cache/Controller/CallbackController.php(173): call_user_func_array(Object(Closure), Array)
#5 /home/tcxpybki/public_html/libraries/src/Component/ComponentHelper.php(453): Joomla\CMS\Cache\Controller\CallbackController->get(Object(Closure), Array, 'Joomla\\CMS\\Comp...')
#6 /home/tcxpybki/public_html/libraries/src/Component/ComponentHelper.php(519): Joomla\CMS\Component\ComponentHelper::load('*')
#7 /home/tcxpybki/public_html/libraries/src/Component/ComponentHelper.php(69): Joomla\CMS\Component\ComponentHelper::getComponents()
#8 /home/tcxpybki/public_html/cli/akeeba-backup.php(138): Joomla\CMS\Component\ComponentHelper::isEnabled('com_akeebabacku...')
#9 /home/tcxpybki/public_html/libraries/src/Application/CliApplication.php(143): AkeebaBackupCLI->doExecute()
#10 /home/tcxpybki/public_html/cli/akeeba-backup.php(481): Joomla\CMS\Application\CliApplication->execute()
#11 {main}

 

nicholas
Akeeba Staff
Manager

This message comes from Joomla itself (file: libraries/joomla/database/driver/mysqli.php) and it means exactly what it says, i.e. the PHP MySQLi extension is not installed or enabled for the PHP 7.3.33 CLI binary. Please have Rochen check this again. Let them know that I said it's a legit issue; they know me and we've had interesting technical discussions in the past.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

teamtmedia

Have copy and pasted your reply. Will let you know how that goes.

Thanks for your support so far and Happy New Year

nicholas
Akeeba Staff
Manager

You're welcome and Happy New Year!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

teamtmedia

Yeah, they remember you. Shall keep you updated.

-----------

Hi Justin,

I am going to get this over to our engineering team so they can double check the CLI version for you as well and they will update you via this ticket later today.

Please let us know if we can be of any further help.

nicholas
Akeeba Staff
Manager

Yup ;) I am the one who's usually bumping on really odd issues, as Jeremy (their senior engineer) can attest to. It's my luck!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

teamtmedia

Just for future reference, here is the detail of the resolution.

----------------------------------------------

Thanks for your patience here. I have adjusted your cron's PHP path to use '/usr/local/bin/php' instead of '/opt/alt/php73/usr/bin/php' which will ensure that your settings configured in CloudLinux on the 'Select PHP Version' page in cPanel take effect.

Afterwards I ran '/usr/local/bin/php /home/tcxpybki/public_html/cli/akeeba-backup.php' via shell access on your account and confirmed the Akeeba backup completed successfully.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!