Jump to content
[MUST READ] Forum Rules ×

Why does mysql_* work on free hosting?


Recommended Posts

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?

Link to comment
Share on other sites

  • 1 year later...
  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...