According to the PHP.net web site, the MySQL extension is deprecated as of PHP 5.5+ Given the large number of PHP sites that use MySQL, I d like to know what the best practices would be for existing sites using MySQL. Would you stabilize your site on a version of PHP that supported MySQL? Or take on the cost and time commitment to migrate to another DB extension?
Future of the PHP MySQL functions
De openkb
Sommaire |
Questions
Answers
If you have the development time then I would highly recommend moving to PDO or MySQLi. Those extensions will be maintained and officially supported by the PHP group.
If your application is really stable and secure then I would disable the warning that 5.5 will generate. When the extension is removed, I am certain it will still exist as a PECL extension which I would then include.
Source
License : cc by-sa 3.0
http://stackoverflow.com/questions/13902943/future-of-the-php-mysql-functions