MYSQL no longer supported in PHP 7

As of December 31 2018 PHP 5.6 is no longer supported with security updates.
This means moving to PHP 7 is considered mandatory now.
PHP 7 does not support the MYSQL database connnection.
MYSQLi or PDO must be used now.
This will affect many PHP applications.
Searching the web about PHP 7 will find many tutorials regarding this change and how to adapt PHP code to work in PHP 7.
  • php
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

Change PHP version

In CPanel go to Software -> Select PHP Version.There you can select the version of PHP and...

Setting Custom PHP Options with Your Own Custom php.ini File

1. In the same directory as the files you want to affect put this in the .htaccess file:It will...

Setting the PHP Timezone in the php.ini File

 If you get this error: Warning: date(): It is not safe to rely on the system's timezone...

How to see all PHP settings with a phpinfo.php File

This tutorial will show you how to make a phpinfo.php file.Create a new file using the file...

PHP 7 is Faster Than PHP 5.6

Try using the "Select PHP Version" feature in CPanel to switch to PHP 7.Be aware that this will...