The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

rebuild_phpconf errors that Apache httpd is disabled? [solution]

Discussion in 'EasyApache' started by R2B2, Jul 18, 2014.

  1. R2B2

    R2B2 Member

    Joined:
    Jul 29, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Just thought i'd share since i didn't see it anywhere in previous threads --

    ++++++++++++++++++++++++++++++
    root@server [~]# /usr/local/cpanel/bin/rebuild_phpconf 5 none fcgi 1
    ...
    php.conf updated to:
    ...
    ...
    FcgidWrapper /usr/local/cpanel/cgi-sys/php5 .php
    ...
    ...
    Restarting Apache
    info [rebuild_phpconf] Apache httpd is disabled, cannot be restarted.
    ++++++++++++++++++++++++++++++

    Solution?

    Remove the empty /etc/httpddisable disable file.

    (Then the next time you run that script it will try to restart httpd. Though you could just restart apache with `service httpd restart`)
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, it's normal for Apache to fail starting if /etc/httpddisable exists as a file. This file is only created when you manually disable Apache in the service manager, or if you create the file via the command line.

    Thank you.
     
Loading...

Share This Page