Today we released EasyEngine 3.5, we have added support for PHP7. PHP7 support was one of most in demand feature but we had reasons to delay it:
- No Debian Support: First, PHP7 redis and memcache modules are not present for Debian via dotdeb repo. So some cache options would break on Debian 7 and 8.
- Experimental: PHP7 is not extensively tested by us. We fear that like HHVM, while WordPress itself may run smoothly with PHP7, some plugins may run into issues. And as we all know, we can not imagine using WordPress without plugins!
- WP-CLI issue: We depend on WP-CLI, which also had issues with PHP7. So we had to wait for a fix from WP-CLI team. Luckily they released WP-CLI v0.22.0.
Hence we have currently marked support for PHP7 as experimental.
Existing users first need to update EasyEngine using
To install PHP7, just run following command:
ee stack install --php7
To create site using PHP 7.0, simply run
ee site create example.com --wp --php7
Above command will do:
- If you are using Debian7/8. If yes, it will give you a message “PHP7 support is not ready for your platform yet. You may consider switching to Ubuntu or wait for a while.” and exit.
- It will then install PHP7 packages.
- If step 3 runs into any issues, PHP5 packages will be installed back.
Read More: PHP7 documentation
Links: Release Notes