How to Upgrade Apache with EasyApache

In this tutorial, we will be upgrading our Apache version via the EasyApache script in the command-line interface (CLI). Please keep in mind that this tutorial requires you to be logged in with your root access.

Note that you will require root access in order to use these directions.

Upgrade Apache

  1. Log into your servers command line interface as the root user.
  2. Run the following to start up EasyApache.
  3. A window will come up regarding previous build issues or cPanel upgrades. Just hit tab and select no for both.
  4. Select an Apache profile

    At this point it will provide profiles to load. You can go ahead and select (spacebar) the Apache version you desire such as Apache 2.2 or 2.4.

  5. Choose an option to upgrade Apache

    If you need custom PHP versions, Apache modules installed, or removed then you can hit tab and select Customize Profile. If not, select Build Profile.

  6. step6

    You will need to confirm what you are doing by selecting Yes to rebuild Apache.

  7. step7

    Another prompt will show up asking you to acknowledge that you understand the changes being made to the server. You will need to select I Understand before the program will continue.

  8. Check to make sure your Apache is running on the correct version (run the code displayed in red).
    [email protected] [~]# httpd -v
    Server version: Apache/2.4.18 (Unix)
    Server built: May 11 2016 12:36:25
    Cpanel::Easy::Apache v3.32.13 rev9999

When you use different versions of Apache you will have different modules to choose from. Also, when you upgrade Apache web server you provide better overall security to your server as fixes will be applied as well.

Scale your business with high-performance dedicated hosting. Choose from Managed Dedicated Servers powered by cPanel, or select a Bare Metal Server for complete server control via the command line.

check markDDoS Protection    check mark99.99% Uptime    check markSoftware RAID    check markNew Customer Discounts

Explore Dedicated Hosting

Need cloud backup storage? Learn why you should consider tape-storage-as-a-service. Or learn more system administration tasks with our Dedicated Server Hosting Product Guide.

InMotion Hosting Contributor

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting

Thoughts on “How to Upgrade Apache with EasyApache

  • You should probably consider updating this thread. It doesn’t work for Easy Apache 4. I type “scripts/easyapache” and I get “EA3 is no longer available”

    • This means you have already upgraded to EA4. Now, you should access/upgrade Apache using Easy Apache in the Web Host Manager (WHM). I have added a flagged note to the article to clarify this.
      Thank you for letting us know,

Was this article helpful? Let us know!