pioneerx01 Posted July 26, 2014 Share Posted July 26, 2014 I have several registration systems that were designed some time ago running mysql. How long do I have until I have to competely move to mysqli? I am working on recoding them, but it is taking some time. Does anyone know when it will become an issue? Quote Link to comment Share on other sites More sharing options...
CroNiX Posted July 27, 2014 Share Posted July 27, 2014 (edited) When you upgrade to php >= 5.5 http://php.net/manual/en/migration55.deprecated.php Edited July 27, 2014 by CroNiX Quote Link to comment Share on other sites More sharing options...
kicken Posted July 27, 2014 Share Posted July 27, 2014 Realistically it will probably be a number of years still before you have a hard time finding a host with support for it. That doesn't mean you should take your sweet time to update the code though. There are several reasons why you should be upgrading as soon as possible besides the threat of the functions being removed. Quote Link to comment Share on other sites More sharing options...
Jacques1 Posted July 27, 2014 Share Posted July 27, 2014 (edited) You have more than enough time to update your code. The PHP core developers are well aware that there are tons of legacy applications and many people who haven't even heard the “news”. However, you should not switch to MySQLi. It's very inconvenient and, of course, again limits you to MySQL databases. Use PDO instead. It's a well-designed universal database interface which can be used for all mainstream database systems, not just MySQL. Edited July 27, 2014 by Jacques1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.