Issue :

On a brand new server with a clean cPanel install, apache does not want to start.

root@server [~]# service httpd start
Syntax error on line 416 of /usr/local/apache/conf/httpd.conf:
UserDir “enable” keyword requires a list of usernames
root@server [~]#

Fix :

This usually happens when Apache mod_userdir Tweak is enabled in WHM before adding any accounts. This creates blank UserDir directives in the httpd.conf file which will not let Apache start.
To get around this, simply disable the tweak until the first account is created.
However, cPanel is reviewing this and should be fixed soon.

Contact Us On WhatsApp