title: How can mysql_connect function be supported in php7.0 by using a patch
body: <p>I am running codes that were running on php5 that support mysql_connect and I have migrated to another server that has php7.0. I realized that php7.0 does no longer support mysql_connect but it supports mysqli_connect. I don't want to go back to edit the codes and I don't want to go back to php5. I know that it's possible to install a patch that will support mysql_connect but I don't know how to do it. I am using ubuntu server 16.04.</p>