Skip to content

How can I enable legacy mysql #417

@electricmessiah

Description

@electricmessiah

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions