Posted by:
RiggsFolly
(---.dynamic.dsl.as9105.com)
Hi Caydee
Its unlikely your hosters will make this change for you, but you can try. They will instead use this as a stick to beat you into upgrading your code base.
Of course its possible they have the ability to switch you to an older version of PHP, that is sometimes a feature of your control panel, that you can do yourself.
One option would be to put this line in a piece of code that is included on every page of your site, or add it to all pages that use this defunct datbase extension.
ini_set("error_reporting", E_ALL & ~E_DEPRECATED);
to turn off the deprecated error reporting.
But which ever way you go, sometime soon, you are going to have to replace all the mysql_ extension calls with either mysqli_ or PDO calls. Unfortunately this is not a simple, like for like, process.
Remember, that as of PHP7 the mysql_ extension is no longer supplied, but I would not expect hosting companies to be moving to PHP7 for a good year or possibly more, but what do I know!!
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet your Apache/MySQL/mariaDB/PHP ADDONs here from the
WAMPServer alternate Repo-X-X-X-
Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-