DCube DCube - 3 months ago 19
MySQL Question

Apache2 Mysql and php7.0 function_exists('mysql_connect') returns false

Im installed the lamp stack on ubuntu 16.04 with apt-get install lamp-server^ and php is working but the function_exists('mysql_connect') returns false.
Any ideas?

obe obe
Answer

mysql_connect is deprecated as of PHP 5.5 and was removed in PHP 7: http://php.net/manual/en/function.mysql-connect.php

Comments