sandnes
Member
Looking for hints, tips, or flat-out instructions...
I have access to MultiPHP Manager on my server, and my relatively new XenForo 2.0.10 forum is currently running fine (but SLOW) under PHP 5.6.
When I switch it to PHP 7.1 through my WHM, I get:
Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /[]/src/XF/Db/Mysqli/Adapter.php:152
Stack trace:
#0 []/src/XF/Db/Mysqli/Adapter.php(28): XF\Db\Mysqli\Adapter->makeConnection(Array)
#1 []/src/XF/Error.php(85): XF\Db\Mysqli\Adapter->getConnection()
#2 []/src/XF/App.php(1942): XF\Error->logException(Object(Error), true, '')
#3 []/src/XF.php(145): XF\App->logException(Object(Error), true)
#4 [internal function]: XF::handleException(Object(Error))
#5 {main} thrown in []/src/XF/Db/Mysqli/Adapter.php on line 152
Fatal error: Uncaught Error: Call to undefined function mysqli_init() in []/src/XF/Db/Mysqli/Adapter.php:152
Stack trace:
#0 []/src/XF/Db/Mysqli/Adapter.php(28): XF\Db\Mysqli\Adapter->makeConnection(Array)
#1 []/src/XF/Error.php(85): XF\Db\Mysqli\Adapter->getConnection()
#2 []/src/XF/App.php(1942): XF\Error->logException(Object(ErrorException), true, '')
#3 []/src/XF.php(185): XF\App->logException(Object(ErrorException), true)
#4 [internal function]: XF::handleFatalError()
#5 {main} thrown in []/src/XF/Db/Mysqli/Adapter.php on line 152
(Where you see [] I have removed my path folders from above)
--
Any ideas would be greatly appreciated!
I have access to MultiPHP Manager on my server, and my relatively new XenForo 2.0.10 forum is currently running fine (but SLOW) under PHP 5.6.
When I switch it to PHP 7.1 through my WHM, I get:
Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /[]/src/XF/Db/Mysqli/Adapter.php:152
Stack trace:
#0 []/src/XF/Db/Mysqli/Adapter.php(28): XF\Db\Mysqli\Adapter->makeConnection(Array)
#1 []/src/XF/Error.php(85): XF\Db\Mysqli\Adapter->getConnection()
#2 []/src/XF/App.php(1942): XF\Error->logException(Object(Error), true, '')
#3 []/src/XF.php(145): XF\App->logException(Object(Error), true)
#4 [internal function]: XF::handleException(Object(Error))
#5 {main} thrown in []/src/XF/Db/Mysqli/Adapter.php on line 152
Fatal error: Uncaught Error: Call to undefined function mysqli_init() in []/src/XF/Db/Mysqli/Adapter.php:152
Stack trace:
#0 []/src/XF/Db/Mysqli/Adapter.php(28): XF\Db\Mysqli\Adapter->makeConnection(Array)
#1 []/src/XF/Error.php(85): XF\Db\Mysqli\Adapter->getConnection()
#2 []/src/XF/App.php(1942): XF\Error->logException(Object(ErrorException), true, '')
#3 []/src/XF.php(185): XF\App->logException(Object(ErrorException), true)
#4 [internal function]: XF::handleFatalError()
#5 {main} thrown in []/src/XF/Db/Mysqli/Adapter.php on line 152
(Where you see [] I have removed my path folders from above)
--
Any ideas would be greatly appreciated!