{"id":4212,"date":"2017-10-24T19:32:39","date_gmt":"2017-10-24T19:32:39","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2017\/10\/24\/how-to-update-easyapache-3-to-easyapache-4\/"},"modified":"2021-11-19T01:41:27","modified_gmt":"2021-11-19T06:41:27","slug":"how-to-update-easyapache-3-to-easyapache-4","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/","title":{"rendered":"How to Update EasyApache 3 to EasyApache 4"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Update-EasyApache-3-to-EasyApache-4-1024x538.png\" alt=\"How to Update EasyApache 3 to EasyApache 4\" class=\"wp-image-89642\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Update-EasyApache-3-to-EasyApache-4-1024x538.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Update-EasyApache-3-to-EasyApache-4-300x158.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Update-EasyApache-3-to-EasyApache-4-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Update-EasyApache-3-to-EasyApache-4.png 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>EasyApache (EA) is the software, included with a cPanel installation, that installs, configures, and updates server components like PHP versions and Apache modules. <a title=\"Click here to navigate to cPanel's Blog post regarding the deprecation schedule for EA3\" href=\"https:\/\/blog.cpanel.com\/updated-easyapache-3-deprecation-schedule\/\" target=\"_blank\" rel=\"noopener noreferrer\">cPanel has recently announced the deprecation of EasyApache 3 (EA3)<\/a> and that the last version of cPanel to support <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-revert-an-easyapache-migration\/\">EA3<\/a> is version 11.62. This means that in order to upgrade to cPanel\u2019s <a title=\"Click here to navigate to cPanel's Release post regarding the Release tier cPanel\/WHM version\" href=\"https:\/\/news.cpanel.com\/cpanel-whm-version-66-to-release\/\" target=\"_blank\" rel=\"noopener noreferrer\">latest Release<\/a> (as of August 22, 2017: version 11.66), you will first need to <strong>update EasyApache 3 to EasyApache 4<\/strong>. In this guide, you will learn how to migrate EasyApache 3 to EasyApache 4 from the Command Line (CLI) and Web Host Manager (WHM) interface.<a name=\"pre-requisites\"><\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#pre-requisites\">Pre-Requisites<\/a><\/li><li><a href=\"#install-ea4-cli\">Install From CLI<\/a><\/li><li><a href=\"#install-ea4-whm\">Install From WHM<\/a><\/li><li><a href=\"#troubleshooting-ea4-install\">Advanced Troubleshooting<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"pre-requisites\">Pre-Requisites<\/h2>\n\n\n\n<p>Read through the following warnings and notices before proceeding through the following instructions. Regardless of which method of migration you choose to utilize, this will ensure that you are fully aware of what is needed prior to updating EasyApache 3 to EasyApache 4.<\/p>\n\n\n\n<div class=\"alert alert-info\" role=\"alert\"><b>NOTE: <\/b>A <a title=\"Click here to navigate to our website to learn more about the available VPS packages\" href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\" target=\"_blank\" rel=\"noopener noreferrer\">VPS<\/a> or <a title=\"Click here to navigate to our website to learn more about the available Dedicated Server packages\" href=\"https:\/\/www.inmotionhosting.com\/dedicated-servers\" target=\"_blank\" rel=\"noopener noreferrer\">Dedicated Server<\/a> with <a title=\"Click here to navigate to our guide to learn how to obtain root access\" href=\"\/support\/amp\/obtain-root-access\/\" target=\"_blank\" rel=\"noopener noreferrer\">Root access<\/a> is required to follow the steps in this guide.<\/div>\n\n\n\n<div class=\"alert alert-info\" role=\"alert\"><b>NOTE: <\/b>EasyApache 4 is not compatible with CentOS 5. If you are running EasyApache 3 on a CentOS 5 server, you should submit a Server Move Request to our Technical Support team. You will most likely be moved to a machine that is running EasyApach 4 and CentOS 7, in which case the migration outlined in this guide would not be necessary.<\/div>\n\n\n\n<div class=\"alert alert-warning\" role=\"alert\"><b>WARNING: <\/b>If InMotion Hosting fulfilled a request to have our custom PHP Switcher tool installed previously, it is important to remove this prior to proceeding with the migration of EasyApache. In order to avoid issues with the migration the following commands should be run <a title=\"Click here to navigate to our guide to learn how to use SSH\" href=\"\/support\/server\/ssh\/how-to-login-ssh\/\" target=\"_blank\" rel=\"noopener noreferrer\">as root via an SSH session<\/a>. Each command is provided after a brief description of what it is doing.\n<p>\u00a0<\/p>\n<p><b>Remove the PHP Switcher tool and custom PHP versions:<\/b><\/p>\n<pre>yum -y remove imh-php52 imh-php53 imh-php54 imh-php55 imh-php56 imh-php70 imh-php71 cpanel-phpconf<\/pre>\n<p><b>Comment out PHP Switcher tool AddHandler lines in cPanel users\u2019 .htaccess files:<\/b><\/p>\n<pre>for a in $(for i in $(\\ls \/var\/cpanel\/users | grep -v system); do find \/home\/$i -name .htaccess; done); do sed -i \/AddHandler\/s\/^\/#\/ $a; done<\/pre>\n<p><b>Disable and Backup (by renaming) cPanel users\u2019 php.in files:<\/b><\/p>\n<pre>for a in $(for i in $(\\ls \/var\/cpanel\/users | grep -v system); do find \/home\/$i -name php.ini; done); do mv $a $a-bk; done<\/pre>\n<p><b>Comment out suphp_configpath lines in cPanel users\u2019 .htaccess files:<\/b><\/p>\n<pre>for i in $(find \/home\/*\/ -name .htaccess); do sed -i \/[Ss][Uu][Pp][Hh][Pp]\/s\/^\/#\/ $i &amp;&amp; echo $i; done<\/pre>\n<\/div>\n\n\n\n<div class=\"alert alert-info\" role=\"alert\"><b>NOTE: <\/b>After removing the PHP Switcher tool and custom PHP builds, you may need to update your suPHP configuration file. Follow the instructions in the <em>Advanced Troubleshooting<\/em> section at the bottom of this guide to do this prior to the migration to avoid errors after the migration.<\/div>\n\n\n\n<div class=\"alert alert-warning\" role=\"alert\"><b>WARNING: <\/b>Due to the nature of how EasyApache 4 maintains Apache and PHP, it is important to note the necessary <strong><em>Apache and PHP Modules and Extensions<\/em> required for the software(s) installed on your server<\/strong>. cPanel will attempt to install all the components it identifies, however, if you have custom modules or extensions that cPanel does not come with, you will need to simply <a title=\"Click here to navigate to our guide and learn how to install PHP Extensions\/Modules manually\" href=\"\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/\" target=\"_blank\" rel=\"noopener noreferrer\">install them manually, via the Command Line Interface (CLI),<\/a> after the conversion.<\/div>\n\n\n\n<p><a name=\"install-ea4-cli\"><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-ea4-cli\">Install From CLI<\/h2>\n\n\n\n<ol class=\"article_list wp-block-list\"><li><a title=\"Click here to navigate to our guide to learn how to use SSH\" href=\"\/support\/server\/ssh\/how-to-login-ssh\/\" target=\"_blank\" rel=\"noopener noreferrer\">Connect to your server as root via an SSH connection<\/a>.<\/li><li>First, update cPanel by running the following command: <pre>\/scripts\/upcp<\/pre><\/li><li>Run the following command to initiate the migration process: <pre>\/usr\/local\/cpanel\/scripts\/migrate_ea3_to_ea4 --run<\/pre><\/li><li>Review the warning that appears. This is where you can identify customizations that you may need to manually install after the migration. Typically, most of the components listed are no longer necessary or needed. Type <strong>y<\/strong> (for yes) and then press the <em>Enter<\/em> key to continue.<\/li><li>Review the warnings related to the current configuration that cPanel identifies. This is where you can also identify customizations that you may need to manually install after the migration. Typically, most of the components listed are no longer necessary or needed. To proceed, type <strong>y<\/strong> (for yes) and then press the <em>Enter<\/em> key to continue.<\/li><li>Review the information displayed regarding the conversion from EA3 to EA4. Again, this is where you can identify customizations that you may need to manually install after the migration. Typically, most of the components listed are no longer necessary or needed. To continue, type <strong>y<\/strong> (for yes) and then press the <em>Enter<\/em> key. The installation process will proceed and the CLI prompt will return when complete.<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-preformatted cli\">info [migrate_ea3_to_ea4] EasyApache 4 has successfully been installed. \nA record of this process may be found at : \/usr\/local\/cpanel\/logs\/packman\/migrate_ea3_to_ea4.Tue_Oct_24_14:56:00_2017.log \n<span style=\"color: slategrey;\">root@localhost ~ $ <\/span><\/pre>\n\n\n\n<p><a name=\"install-ea4-whm\"><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-ea4-whm\">Install from WHM<\/h2>\n\n\n\n<div class=\"alert alert-warning\" role=\"alert\"><b>NOTE: <\/b>In order to use WHM\u2019s interface to migrate EA3 to EA4, you must <a title=\"Click here to navigate to our guide and learn more about configuring Update Preferences in WHM\" href=\"\/support\/edu\/whm\/configure-update-preferences\/\" target=\"_blank\" rel=\"noopener noreferrer\">configure cPanel\u2019s <em>Update Preferences<\/em><\/a> to <strong>Current<\/strong> or <strong>Edge<\/strong>.<\/div>\n\n\n\n<p>Once you have configured the <em>Update Preferences<\/em> accordingly you will be able to follow along with the steps below to migrate EA3 to EA4 from WHM.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/whm\/log-into-whm\/\" target=\"_blank\" rel=\"noreferrer noopener\">Log into WHM as root<\/a>.<\/li><li>Type <em style=\"font-size: revert; color: initial;\">easy<\/em><span style=\"font-size: revert; color: initial;\"> into the search field in the top left of WHM.<\/span><\/li><li>Under the <em style=\"font-size: revert; color: initial;\">Software<\/em><span style=\"font-size: revert; color: initial;\"> category, click on <\/span><strong style=\"font-size: revert; color: initial;\">EasyApache 4<\/strong><span style=\"font-size: revert; color: initial;\">.<\/span><\/li><li>Click on the <strong style=\"font-size: revert; color: initial;\">EasyApache 4 Migration<\/strong><span style=\"font-size: revert; color: initial;\"> button to proceed.<\/span><\/li><li>After the pre-flight check, review any warnings that are displayed. Then, scroll to the bottom of the page and click the <strong style=\"font-size: revert; color: initial;\">Migrate<\/strong><span style=\"font-size: revert; color: initial;\"> button to continue.<\/span><\/li><li>Click the <strong style=\"font-size: revert; color: initial;\">Yes, run EasyApache 4 Migration<\/strong><span style=\"font-size: revert; color: initial;\"> button from the pop-up that displays.<\/span><\/li><li>Once the migration completes, you will receive a successful message: <em style=\"font-size: revert; color: initial;\">\u201cEasyApache 4 Migration has run successfully.\u201d<\/em><span style=\"font-size: revert; color: initial;\"> Click the <\/span><strong style=\"font-size: revert; color: initial;\">Done<\/strong><span style=\"font-size: revert; color: initial;\"> button to close the Migration tool.<\/span><a name=\"troubleshooting-ea4-install\"><\/a><\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"troubleshooting-ea4-install\">Advanced Troubleshooting<\/h2>\n\n\n\n<p>Converting from EasyApache 3 to EasyApache 4 may require extensive modifications after the change. Apache and PHP will be completely rebuilt throughout the process. EA 4 will attempt to match your existing profile; however, it can leave out important Apache or PHP modules. It is strongly recommended that you ensure your websites are still working normally after the migration to EA4. In the following section, we provide insight into possible issues (commonly caused by an EA3-&gt;EA4 migration) and how to resolve them.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">WordPress Site Error<\/h3>\n\n\n\n<p>If you are running a WordPress site, you <em><u>may<\/u><\/em> receive the following error on any sites using an .htaccess file with a custom suPHP_configpath configured:<\/p>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p>\u201cYour PHP installation appears to be missing the MySQL extension which is required by WordPress.\u201d<\/p><\/blockquote><\/figure>\n\n\n\n<p>The issue is that when you use the suPHP_configpath directive, the PHP configuration from the include files located in \/opt\/cpanel\/ea-php##\/root\/etc\/php.d\/ will not be loaded. Follow the steps below to resolve this issue.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/whm\/log-into-whm\/\" target=\"_blank\" rel=\"noreferrer noopener\">Log into WHM as root<\/a>.<\/li><li>Navigate to the <strong style=\"font-size: revert; color: initial;\">MultiPHP Manager<\/strong><span style=\"font-size: revert; color: initial;\"> inside of WHM.<\/span><\/li><li>Under the <em style=\"font-size: revert; color: initial;\">PHP Versions<\/em><span style=\"font-size: revert; color: initial;\"> tab find the <\/span><strong style=\"font-size: revert; color: initial;\">System PHP-FPM<\/strong><span style=\"font-size: revert; color: initial;\"> section and confirm that PHP-FPM is turned off.<\/span><\/li><li>Scroll down to the <strong style=\"font-size: revert; color: initial;\">Set PHP Version per Domain<\/strong><span style=\"font-size: revert; color: initial;\"> section and confirm the PHP Version for the cPanel user that owns the website displaying the error.<\/span><\/li><li><a title=\"Click here to navigate to our guide to learn how to use SSH\" style=\"font-size: revert;\" href=\"\/support\/server\/ssh\/how-to-login-ssh\/\" rel=\"noopener noreferrer\" target=\"_blank\">Log into your server via SSH as root<\/a><span style=\"font-size: revert; color: initial;\">.<\/span><\/li><li>Create a backup of your existing php.ini file by running the following command, you may adjust the path according to the actual location (the path specified in this command is the default path for a primary domain in cPanel): <pre>cp \/home\/cpuser\/public_html\/php.ini \/home\/cpuser\/public_html\/php.ini.bak<\/pre><\/li><li>Run the following command: <pre>cp \/opt\/cpanel\/ea-php##\/root\/etc\/php.ini \/home\/cpuser\/public_html\/<\/pre><div class=\"alert alert-warning\" role=\"alert\"><b>NOTE: <\/b>\u2018ea-php##\u2019 should be changed to reflect the PHP version number the cPanel user is using (e.g. \u2018ea-php56\u2019 for PHP version 5.6) and \u2018cpuser\u2019 should be replaced with the cPanel username that owns the WordPress website.<\/div> <\/li><li>Run the following loop to add missing lines to the cpuser\u2019s php.ini: <pre>for i in `ls \/opt\/cpanel\/ea-php##\/root\/etc\/php.d`; do cat \/opt\/cpanel\/##\/root\/etc\/php.d\/$i &gt;&gt; \/home\/cpuser\/public_html\/php.ini; done<\/pre><div class=\"alert alert-warning\" role=\"alert\"><b>NOTE: <\/b>\u2018ea-php##\u2019 should be changed to reflect the PHP version number the cPanel user is using (e.g. \u2018ea-php56\u2019 for PHP version 5.6) and \u2018cpuser\u2019 should be replaced with the cPanel username that owns the WordPress website.<\/div> <\/li><li>Make a backup of your website\u2019s .htaccess file by running the following command, you may adjust the path according to the actual location (the path specified in this command is the default path for a primary domain in cPanel): <pre>cp \/home\/cpuser\/public_html\/.htaccess \/home\/cpuser\/public_html\/.htaccess.bak<\/pre> <\/li><li>Add the following code to the top of your website\u2019s .htaccess file: <pre><ifmodule mod_suphp.c=\"\"> suPHP_ConfigPath \/home\/cpuser\/public_html <\/ifmodule><\/pre> <div class=\"alert alert-warning\" role=\"alert\"><b>NOTE: <\/b>\u2018cpuser\u2019 should be replaced with the cPanel username that owns the WordPress website.<\/div> <\/li><li>Reload your website and confirm the error no longer displays.<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">suPHP Configuration File Corruption<\/h3>\n\n\n\n<p>When switching to suPHP from CGI or DSO, EasyApache 4 does not add the necessary configuration to \/etc\/suphp.conf for mapping the different handler directives to their corresponding PHP binary files. You may experience a 500 Internal Server Error on PHP websites after switching to suPHP or websites forcing a download; the Apache error log will display errors like:<\/p>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p>Caused by KeyNotFoundException in Configuration.cpp:262: Handler \u201capplication\/x-httpd-ea-php56\u201d not found End of script output before headers: phpinfo.php<\/p><\/blockquote><\/figure>\n\n\n\n<p>Follow the instructions below to correct the suPHP configuration file.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li><a title=\"Click here to navigate to our guide to learn how to use SSH\" href=\"\/support\/server\/ssh\/how-to-login-ssh\/\" target=\"_blank\" rel=\"noopener noreferrer\">Connect to your server as root via an SSH connection<\/a>.<\/li><li>Create a backup of the suPHP configuration file by running this command:\n<pre>cp \/etc\/suphp.conf \/etc\/suphp.conf.bak<\/pre>\n<\/li><li>Run the following command to open the suPHP configuration file:\n<pre>nano \/etc\/suphp.conf<\/pre>\n<\/li><li>Locate the following lines:\n<pre>[handlers];Handler for php-scripts<br>application\/x-httpd-php=\"php:\/usr\/bin\/php\"\napplication\/x-httpd-php4=\"php:\/usr\/php4\/bin\/php\"<br>application\/x-httpd-php5=\"php:\/usr\/bin\/php\"<\/pre>\n<\/li><li>Add the following lines below the code you found:\n<pre>application\/x-httpd-ea-php54=\"php:\/opt\/cpanel\/ea-php54\/root\/usr\/bin\/php-cgi\"<br>application\/x-httpd-ea-php55=\"php:\/opt\/cpanel\/ea-php55\/root\/usr\/bin\/php-cgi\"\napplication\/x-httpd-ea-php56=\"php:\/opt\/cpanel\/ea-php56\/root\/usr\/bin\/php-cgi\"\napplication\/x-httpd-ea-php70=\"php:\/opt\/cpanel\/ea-php70\/root\/usr\/bin\/php-cgi\"\napplication\/x-httpd-ea-php71=\"php:\/opt\/cpanel\/ea-php71\/root\/usr\/bin\/php-cgi\"\napplication\/x-httpd-ea-php72=\"php:\/opt\/cpanel\/ea-php72\/root\/usr\/bin\/php-cgi\"<\/pre>\n<\/li><li>Remove any additional lines so that the \u2018[handlers]\u2019 section looks exactly like this:\n<pre>[handlers]\n;Handler for php-scripts\napplication\/x-httpd-php=\"php:\/usr\/bin\/php\"\napplication\/x-httpd-php4=\"php:\/usr\/php4\/bin\/php\"\napplication\/x-httpd-php5=\"php:\/usr\/bin\/php\"\napplication\/x-httpd-ea-php54=\"php:\/opt\/cpanel\/ea-php54\/root\/usr\/bin\/php-cgi\"\napplication\/x-httpd-ea-php55=\"php:\/opt\/cpanel\/ea-php55\/root\/usr\/bin\/php-cgi\"\napplication\/x-httpd-ea-php56=\"php:\/opt\/cpanel\/ea-php56\/root\/usr\/bin\/php-cgi\"\napplication\/x-httpd-ea-php70=\"php:\/opt\/cpanel\/ea-php70\/root\/usr\/bin\/php-cgi\"\napplication\/x-httpd-ea-php71=\"php:\/opt\/cpanel\/ea-php71\/root\/usr\/bin\/php-cgi\"\napplication\/x-httpd-ea-php72=\"php:\/opt\/cpanel\/ea-php72\/root\/usr\/bin\/php-cgi\"<\/pre>\n<\/li><li>Once you have added the necessary line(s), press <strong>Ctrl + O<\/strong> and then hit <em>Enter<\/em> to save your changes. Press <strong>Ctrl + X<\/strong> to exit nano.<\/li><li>Finally, restart Apache, by running this command:\n<pre>\/bin\/systemctl restart httpd.service<\/pre>\n<\/li><li>Reload your website to confirm it is loading properly.<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Persisting Errors<\/h3>\n\n\n\n<p>If you experience any persisting errors and are a customer of InMotion Hosting, please reach out to our <a title=\"Click here to navigate to our guide and to learn how to contact 24\/7\/365 Live Support\" href=\"\/support\/amp\/how-to-get-great-technical-support\/\" target=\"_blank\" rel=\"noopener noreferrer\">Live Support<\/a> for further assistance, or <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-revert-an-easyapache-migration\/\">revert the EasyApache migration<\/a>.<\/p>\n\n\n\n<p>Congratulations! You are now running EasyApache 4. If you want to learn more about how to use EA4, be sure to check out our guide on <a title=\"Click here to navigate to our guide and learn how to install PHP extensions using EasyApache 4\" href=\"\/support\/edu\/easyapache\/how-to-install-a-php-extension-using-easyapache-4\/\">installing PHP extensions using EasyApache4<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>EasyApache (EA) is the software, included with a cPanel installation, that installs, configures, and updates server components like PHP versions and Apache modules. cPanel has recently announced the deprecation of EasyApache 3 (EA3) and that the last version of cPanel to support EA3 is version 11.62. This means that in order to upgrade to cPanel&#8217;s<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/\"> Read More ><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4302],"tags":[],"class_list":["post-4212","post","type-post","status-publish","format-standard","hentry","category-easyapache"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Update EasyApache 3 to EasyApache 4 Explained<\/title>\n<meta name=\"description\" content=\"In this guide, you will learn how to migrate EasyApache 3 to EasyApache 4 from the Command Line (CLI) and Web Host Manager (WHM) interface.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Update EasyApache 3 to EasyApache 4 Explained\" \/>\n<meta property=\"og:description\" content=\"In this guide, you will learn how to migrate EasyApache 3 to EasyApache 4 from the Command Line (CLI) and Web Host Manager (WHM) interface.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-24T19:32:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-19T06:41:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Update-EasyApache-3-to-EasyApache-4.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b\"},\"headline\":\"How to Update EasyApache 3 to EasyApache 4\",\"datePublished\":\"2017-10-24T19:32:39+00:00\",\"dateModified\":\"2021-11-19T06:41:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/\"},\"wordCount\":1481,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Update-EasyApache-3-to-EasyApache-4-1024x538.png\",\"articleSection\":[\"EasyApache\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/\",\"name\":\"How to Update EasyApache 3 to EasyApache 4 Explained\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Update-EasyApache-3-to-EasyApache-4-1024x538.png\",\"datePublished\":\"2017-10-24T19:32:39+00:00\",\"dateModified\":\"2021-11-19T06:41:27+00:00\",\"description\":\"In this guide, you will learn how to migrate EasyApache 3 to EasyApache 4 from the Command Line (CLI) and Web Host Manager (WHM) interface.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Update-EasyApache-3-to-EasyApache-4.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Update-EasyApache-3-to-EasyApache-4.png\",\"width\":1200,\"height\":630,\"caption\":\"How to Update EasyApache 3 to EasyApache 4\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Update EasyApache 3 to EasyApache 4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/john-paul\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Update EasyApache 3 to EasyApache 4 Explained","description":"In this guide, you will learn how to migrate EasyApache 3 to EasyApache 4 from the Command Line (CLI) and Web Host Manager (WHM) interface.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/","og_locale":"en_US","og_type":"article","og_title":"How to Update EasyApache 3 to EasyApache 4 Explained","og_description":"In this guide, you will learn how to migrate EasyApache 3 to EasyApache 4 from the Command Line (CLI) and Web Host Manager (WHM) interface.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2017-10-24T19:32:39+00:00","article_modified_time":"2021-11-19T06:41:27+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Update-EasyApache-3-to-EasyApache-4.png","type":"image\/png"}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b"},"headline":"How to Update EasyApache 3 to EasyApache 4","datePublished":"2017-10-24T19:32:39+00:00","dateModified":"2021-11-19T06:41:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/"},"wordCount":1481,"commentCount":2,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Update-EasyApache-3-to-EasyApache-4-1024x538.png","articleSection":["EasyApache"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/","name":"How to Update EasyApache 3 to EasyApache 4 Explained","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Update-EasyApache-3-to-EasyApache-4-1024x538.png","datePublished":"2017-10-24T19:32:39+00:00","dateModified":"2021-11-19T06:41:27+00:00","description":"In this guide, you will learn how to migrate EasyApache 3 to EasyApache 4 from the Command Line (CLI) and Web Host Manager (WHM) interface.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Update-EasyApache-3-to-EasyApache-4.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Update-EasyApache-3-to-EasyApache-4.png","width":1200,"height":630,"caption":"How to Update EasyApache 3 to EasyApache 4"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/how-to-update-easyapache-3-to-easyapache-4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Update EasyApache 3 to EasyApache 4"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/john-paul\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4302,"name":"EasyApache","slug":"easyapache","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=4212"}],"version-history":[{"count":8,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4212\/revisions"}],"predecessor-version":[{"id":91971,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4212\/revisions\/91971"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=4212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=4212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=4212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}