Why is MySQL support missing from the PHP installation?

Our web servers run PHP 7+ by default. In this PHP version the old MySQL module is replaced with either the mysqli or PDO_MySQL extension.

Why was the old MySQL extension deprecated?

The original mysql extension is deprecated and is no longer supported in newer versions of PHP.

It has been removed in PHP 7+ to enhance:

What else do I use?

If your website or application was developed using the old mysql functions then you should update your code to one of the following:

Nowadays this is the most common way to link PHP applications to MySQL databases.

What does this mean for my site?

If you are already running modern PHP code on your site you will not be affected.
However, if your website uses deprecated functions like:

Then you will need to update, as those functions are no longer available in PHP 7+.

What to do if your site is affected

Our suggestions:

Further information

You can find technical information and tips for migration on PHP’s official website about the deprecation of the MySQL extension.