This version has updated Nginx, PHP and added support for PHP 7.4 with the command to update your site to the PHP version of your choice 🎉
EasyEngine already had PHP 5.6, 7.0, 7.2 and 7.3 versions. In this release, PHP 7.4 support has been added. Now you can create a PHP or WordPress site with versions 7.4 using
--php=7.4 flag during
# Create sites with PHP version 7.4 ee site create example.com --type=php --php=7.4 ee site create example.com --type=wp --php=7.4
ee site update only supported update from non-ssl site to ssl site. It now has a much-awaited feature of updating PHP versions of an existing site.
You can update any PHP or WordPress EasyEngine site from their existing version to any of the supported PHP versions (5.6, 7.0, 7.2, 7.3 and 7.4).
ee site update example.com --php=5.6 ee site update example.com --php=7.0 ee site update example.com --php=7.2 ee site update example.com --php=7.3 ee site update example.com --php=7.4
Please note: During PHP versions updates, the PHP config files are also updated. If you have made any custom changes in
php.ini or any other config files, please take a backup of it. You can add those custom changes to
custom.ini file or
easyengine.conf, which are created by default at these locations:
/opt/easyengine/sites/example.com/config/php/php-fpm.d/easyengine.conf. These two files are kept constant during all version updates.
The default PHP version on site create till now was 7.2. It has now been upgraded to 7.4. With this update, creating any new site without passing
--php=version flag will create it in PHP 7.4.
OpenResty version updated to 126.96.36.199 from 188.8.131.52
New PHP version 7.4 support has been added in this release. The existing PHP images have been updated to their latest available versions and additional extensions like
exif, suggested by WordPress, have been added by default in all the PHP images.
Multiple issues had been reported where SSL renewal failed if the SSL certificate had already expired. We have added a fix to renew the certificate even when the certificate has expired.
A lot of times in the SSL renewal cron, EasyEngine being executed from inside the cron does not get the
docker-compose due to which the SSL renewal fails. To maintain proper SSL renewals, please add
PATH variable inside the crontab to get a cronjob like below:
# Add value of PATH from your system inside crontab. PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0 0 * * * /usr/local/bin/ee site ssl-renew --all >> /opt/easyengine/logs/cron.log 2>&1
Release Link: v4.0.15