Migration from EasyApache 3 to EasyApache 4

On the test I migrated from EasyApache 3 to EasyApache 4.

Before starting the process, you must always make a backup copy of the server.

Opened the “WHM” – “Home” – “Software” panel – “EasyApache 4” and clicked the “Migrate” button.

The migration process lasted about 5 minutes.
Since the old EasyApache 3 used Apache2.2, and it is not supported on EasyApache 4, it was automatically updated to Apache2.4.
The configuration and version of PHP remained the same as 5.5, but since it was outdated, after migration, I opened the same menu (WHM – Home – Software – EasyApache 4), chose the version of PHP 5.6, the necessary PHP modules had to be selected, because for each versions of PHP they are selected individually.
The PHP version 7 decided not to choose to fix the code of sites less.

After the PHP update, you need to configure the php.ini file, it is located at /opt/cpanel/ea-php56/root/etc/php.ini, and on EasyApache 3 was /usr/local/lib/php.ini.

The Apache2 error log file is here by default /etc/apache2/logs/error_log and here /usr/local/apache/logs/error_log.

The error file PHP file, for some reason in php.ini by default was specified without a path:

error_log = error_log

Because of this, it was created in all the directories of the web server where errors occurred, so I indicated the full path.

This completes the migration, further actions depend on the errors that will be displayed in this file, if necessary, you will probably need to install missing PHP modules or fix the outdated site code.

See also:
Troubleshooting PHP Warning “Permission denied /var/cpanel/php/sessions/ea-php56/”

Подписаться на IT Blog (RU) по Email
Subscribe to IT Blog (EN) by Email

Did my article help you? How about buying me a cup of coffee as an encouragement? Buy me a coffe.

Leave a Reply