Introduction
Here, we will teach you to use the /usr/local/cpanel/scripts/migrate_ea3_to_ea4
script to install or uninstall EasyApache 4 on the command line.
Procedure
Migrate to EasyApache 4
- Log in to your server via SSH.
- Run the following command as the root user:
/usr/local/cpanel/scripts/migrate_ea3_to_ea4 --run
Note:- If your system runs CloudLinux™, the
migrate_ea3_to_ea4
script downloads and runs CloudLinux’s EasyApache 4 migration script. - If your system runs CloudLinux, you cannot use options (for example, the
--install_profile
option) with the EasyApache 4 migration script. - If your system runs CloudLinux, you must disable the FastCGI option in EasyApache 3 before you run the migration script.
- As the migration script runs, the /
scripts/migrate_ea3_to_ea4
script copies the/usr/local/lib/php.ini
file to the/opt/cpanel/ea-php??/root/etc/php.d/php.ini
file and to all installedea-php
versions on your server. To prevent complications, the system comments out lines that resemble the following lines:extension=
extension_dir=
zend_extension-
- The system does not adjust any other lines.
- On systems that do not run CloudLinux, if you receive a message that you must install the Experimental Repository, you must install the repository with the
yum install ea4-experimental
command, then attempt to migrate the server again.
- If your system runs CloudLinux™, the
- The interface displays the changes that will occur. To continue, follow the interface’s instructions.
Comments
0 comments
Article is closed for comments.