After I upgraded php5 to php7, I get an error 500 with
PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect()
I put this into my apt sources in order to get php7 right now:
deb http://packages.dotdeb.org jessie all
deb-src http://packages.dotdeb.org jessie all
What I basically did is:
apt-get remove php5
apt-get install php7-*
I'm using the current version of Debian Jessie.
But I still get this. There are a lot of questions here on SO and I definitely checked them all out. But I didn't find an answer there yet.
mysql_is removed. Also, entire SO is screaming about this removal for several years now. There are no such functions any more and you can't use them. If your project depends on it, revert back to php version that supports it.