I'm trying to get some old sites working that use deprecated mysql_connect(). Is there an environment var I can use in my stack to enable the legacy 5.6 mysql as the example below?
PHP 5.6 was the last version to support the original mysql_connect() function.
If your WordPress site is very old (pre-v3.9), it must have the mysql extension, not just mysqli.
environment:
- PHP_EXTENSIONS=mysql mysqli pdo_mysql
I'm trying to get some old sites working that use deprecated mysql_connect(). Is there an environment var I can use in my stack to enable the legacy 5.6 mysql as the example below?