When a php script with the code "mysql_connect" is accesed and you could see the error as
=-=-=--=-==--==-=-=-
Fatal error: Call to undefined function mysql_connect() in /home/'user'/code.php
-=-==-=--=-==--==-=-
Here, ensure that mysql and mysqli modules are enabled in php.ini,
=-=-=-=-
extension=mysqli.so
extension=mysql.so
=-=-=-=-=-
Done
=-=-=--=-==--==-=-=-
Fatal error: Call to undefined function mysql_connect() in /home/'user'/code.php
-=-==-=--=-==--==-=-
Here, ensure that mysql and mysqli modules are enabled in php.ini,
=-=-=-=-
extension=mysqli.so
extension=mysql.so
=-=-=-=-=-
Done