InfinityFree Posted March 24, 2017 Share Posted March 24, 2017 One of my users moved from free hosting to another server and the website broke immediately. The reason for this was that the script was built on the outdated ext/mysql library for PHP, rather than the superior mysqli or PDO libraries. The new server ran PHP 7.0, for which the mysql_* functions have been removed. However, when I checked, the free account was using PHP 7.0 too. How is that possible? mysql_* is not supposed to work on PHP 7.0! So why do they? Quote Link to comment Share on other sites More sharing options...
Admin Posted March 25, 2017 Share Posted March 25, 2017 Magic ? Quote Link to comment Share on other sites More sharing options...
Arcenas090 Posted July 22, 2018 Share Posted July 22, 2018 On 3/25/2017 at 8:21 PM, Admin said: Magic ? Lol Quote Link to comment Share on other sites More sharing options...
irislylli Posted January 7, 2019 Share Posted January 7, 2019 Admin's reply has to be the best I have ever seen. My best guess is that the legacy extension has been manually compiled in PHP 7 setup on the server, because I tested it myself and the same thing happens... I wonder why this was? 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.