Skip to main content

MySQL spontaneously broke on all PHP versions: Uncaught Error: Class "PDO" / Call to undefined function mysqli_init()

Comments

3 comments

  • PenguinInternet
    If you were using PHP FPM, check that this hasn't been disabled -
    0
  • cPJustinD
    Hello PatPeter! Was PHP-FPM ever enabled for this domain? If so, it may be worth verifying that PHP-FPM is still enabled per the case PenguinInternet mentioned above.
    0
  • PatPeter
    Thank you thank you thank you! That was it. I disabled and re-enabled PHP-FPM on my website and it started working again. In my attempt to get things working again I uninstalled Memcached (I had originally installed it manually via console), so this was a good opportunity to learn how EasyApache 4 works.
    0

Please sign in to leave a comment.