evolution / wordpress

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

(Optional) PHP 7 support #143

Closed EvanK closed 7 years ago

EvanK commented 8 years ago

Currently, we're using the stock PHP that Ubuntu 14 provides (5.6 IIRC 5.5.9).

Look into adding a role for PHP 7 installed from a ppa, that we can optionally swap out for the current php role.

weeirishman commented 7 years ago

The commands I ran on local to upgrade to PHP 7.1:

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.1
sudo apt-get install php7.1-mysql php7.1-curl php7.1-gd php7.1-mcrypt php7.1-dev
sudo a2dismod php5
sudo a2enmod php7.1
sudo service apache2 restart
EvanK commented 7 years ago

@weeirishman Tagged & released as v1.6.3