I configure LAMP on Debian 9, set apache2 + php 7 (php-myslqnd installed), but when I try to connect to the database via mysqli_connect, the Apache logs in the log - PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect (); Reinstalling apach2 and php gave nothing

  • enable extension in config - teran
  • @teran extension is included. - Madushko
  • phpinfo() then take a look to check that it is actually loaded - teran
  • @teran, hmm, in phpinfo there is no information about the module, checked php.ini, extension included - Madushko
  • Is the path to ini indicated there? make sure you see the same file. - teran

0