Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Jul 2006

    Post How to Rebuild Apache in cPanel ?

    You can Rebuild Apache in cPanel using the following steps:

    1. Log in as the root using ssh to your server
    2. Type the following commands:
    # cd /scripts
    # ./updatenow
    # ./easyapache
    3. Simply take after on screen directions to modify Apache for CPanel server under Linux/FreeBSD OSes.

    4. If you don't mind take note of that you should see a menu on the screen asking you which alternative you might want to be incorporated with your Apache introduce.

    5. Select alternatives according to your prerequisites.

    6. When it has finished it will naturally restart Apache for you and you will then have the capacity to utilize the new components.
    24x7 Remote Services
    Linux/Windows Server Administration Server Management
    Get in touch:

  2. #2
    Senior Member
    Join Date
    Nov 2018
    You can use the /usr/local/cpanel/scripts/rebuildhttpdconf script to rebuild Apache's main configuration file. Important: This script does not restart Apache. To restart Apache, run the restartsrv_httpd script.

  3. #3
    Join Date
    Sep 2020
    You can rebuild Apache with ths script: /usr/local/cpanel/scripts/rebuildhttpdconf .
    After that you can restart Apache with below commad to restart:
    service httpd restart

    You can also restart Apache in WHM:
    Login to WHM >> Restart Services >> Here choose Apache to restart.

    You can also follow guide to restart Apache service if you are new in linux.

  4. #4
    Senior Member
    Join Date
    Nov 2018
    When you install cPanel & WHM, the installation process automatically runs EasyApache 4, which installs Apache with the basic requirements for a functional web server. ... The Apache Software Foundation develops the Apache HTTP Server Project, which provides the Apache web server software.

  5. #5
    Senior Member
    Join Date
    Feb 2022
    To rebuild the Apache configuration file, run the following command as root:

    # /scripts/rebuildhttpdconf

    Then, reload Apache:

    # /scripts/restartsrv_httpd

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting

Premium Partners:

Visit to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.