evolution / wordpress

Rapidly create, develop, & deploy WordPress across multiple environments.
MIT License
200 stars 18 forks source link

MySQL fails when upgrading to PHP version 7 #171

Closed weeirishman closed 7 years ago

weeirishman commented 7 years ago

After editing lib/ansible/group_vars/all to upgrade to PHP version 7 (php__version_7: true) Wordpress responds with the following error after running bundle exec cap production evolve:provision:

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

This can be patched by SSHing into the box and running the following command:

sudo apt-get install php7.1-mysql

I searched the evolution codebase but didn't find a result for php7.1-mysql so I'll guess this bug isn't a failing command, just an omitted one.