0

I recently upgraded from Ubuntu 20.04 to 22.04. I wish I hadn't. Everything was running like a top and after the upgrade mysql just doesn't cooperate anymore. PHP 8.0 is running, php_info() makes no mention of mysqli, and when I call a function that tries to connect to mysqli I get the dreaded 'Uncaught Error: Call to undefined function mysqli_connect()'

I can connect to mysql from the shell, so I know it's running. I have

extension=mysqli

in php.ini and have even tried

extension=/usr/lib/php/20220829/mysqli.so

and reloaded apache2, but to no avail. I've spent many hours searching for an answer and I'm at my wits end. What am I missing?

Greg B.
  • 3
  • 2

0 Answers0