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? Link to comment https://forums.phpfreaks.com/topic/290127-how-long-do-i-have-to-update-my-code-to-mysqli/ Share on other sites More sharing options...
CroNiX Posted July 27, 2014 Share Posted July 27, 2014 When you upgrade to php >= 5.5 http://php.net/manual/en/migration55.deprecated.php Link to comment https://forums.phpfreaks.com/topic/290127-how-long-do-i-have-to-update-my-code-to-mysqli/#findComment-1486211 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. Link to comment https://forums.phpfreaks.com/topic/290127-how-long-do-i-have-to-update-my-code-to-mysqli/#findComment-1486213 Share on other sites More sharing options...
Jacques1 Posted July 27, 2014 Share Posted July 27, 2014 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. Link to comment https://forums.phpfreaks.com/topic/290127-how-long-do-i-have-to-update-my-code-to-mysqli/#findComment-1486221 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.