Advert
Fatal error: Call to undefined function mysqli_connect()
Got this error when trying to use MySql in a PHP page on a Fedora install.
What had happened is PHP wasn’t installed with MySql support. However it is simple to fix. Open up PuTTY and enter in the following:
yum install php-mysql /sbin/service httpd restart