Apache :Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration

Apache Error: Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration


After Upgrading Apache from 2.2 to 2.4 following error occurred.

Error Message:

AH00526: Syntax error on line xxx of /etc/httpd/conf/httpd.conf
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
httpd.service: main process exited, code=exited, status=1/FAILURE

Solution:

load the module mod_unixd
Add the following line in the httpd.conf

LoadModule unixd_module modules/mod_unixd.so



FOLLOW US :-    
   





0 comments :

Post a Comment