rebuild_phpconf errors that Apache httpd is disabled? [solution]
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`)
-
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. 0
Please sign in to leave a comment.
Comments
1 comment