Home / DirectAdmin / Directadmin :: httpd error Invalid command ‘php_admin_flag’

Directadmin :: httpd error Invalid command ‘php_admin_flag’

DirectAdmin 0

On Directadmin server httpd fails to start with below error :

# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 47 of /usr/local/directadmin/data/users/linuxbabu/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration

Solution :

Execute below commands to rebuild php and http config files.

./build all d
./build rewrite_confs

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Previous Post

    Eximstats too large

    Next Post

    CloudLinux Uninstall : Easyapache error : configure: error: C preprocessor “/lib/cpp …