Posted by:
RiggsFolly
(---.dynamic.dsl.as9105.com)
I cannot help saying that making major changes mid project is NEVER A GOOD IDEA, but I guess you now know that!
The error
Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\wamp\www\teldetv_3\Connections\conex_db_teldetv .php on line 22Is not actually an error it is just a warning, and a useful warning too. It is telling you that the mysql_* functions will soon be removed from the PHP language. So some time in the future, if you want to upgrade PHP to get the latest version with all the latest bug fixes, you are going to have to recode all your database access to use the mysqli_* functions or the PDO functions.
But for now there is a simple amendment you can add to your 'php.ini' to stop it giving this WARNING message.
Edit php.ini ( using the wampmanager menus )
wampmanager -> PHP -> php.ini
Find this line
error_reporting = E_ALL
And change it to
error_reporting = E_ALL & ~E_DEPRECATED
---------------------------------------------------------------------------------------------
(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-