1Try checking to see if the PHP MySQL extension module is being loaded:
2
3<?php
4 phpinfo();
5?>
6
7If it's not there, add the following to the php.ini file:
8
9extension=php_mysql.dll
10
11Save and Restart You Apache HTTP Server
1In case, you are using PHP7 already, the formerly deprecated functions
2mysql_* were removed entirely, so you should update your code using the
3PDO-functions or mysqli_* functions instead.
4
5If that's not possible, as a workaround, rubo77 created a small PHP include
6file, that recreates the old mysql_* functions with mysqli_*()-functions:
7https://github.com/rubo77/php-mysql-fix