Robru
Well-known member
Code:
root@dell2950:~# cd /var/www/html/community/
root@dell2950:/var/www/html/community# php cmd.php xf:upgrade
PHP Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /var/www/html/community/src/XF/Db/Mysqli/Adapter.php:152
Stack trace:
#0 /var/www/html/community/src/XF/Db/Mysqli/Adapter.php(28): XF\Db\Mysqli\Adapter->makeConnection(Array)
#1 /var/www/html/community/src/XF/Error.php(46): XF\Db\Mysqli\Adapter->getConnection()
#2 /var/www/html/community/src/XF/Install/App.php(48): XF\Error->hasPendingUpgrade()
#3 /var/www/html/community/src/XF/Container.php(159): XF\Install\App->XF\Install\{closure}(Object(XF\Error), Object(XF\Container))
#4 /var/www/html/community/src/XF/Container.php(28): XF\Container->XF\{closure}(Object(XF\Container))
#5 /var/www/html/community/src/XF/App.php(2513): XF\Container->offsetGet('error')
#6 /var/www/html/community/src/XF/App.php(2188): XF\App->error()
#7 /var/www/html/community/src/XF.php(170): XF\App->logException(Object(Error), true)
#8 [internal function]: XF::handleException(Object(Error))
#9 {main}
thrown in /var/www/html/community/src/XF/Db/Mysqli/Adapter.php on line 152
Last edited: