extra/httpd-directories.conf: Invalid command 'suPHP_UserGroup'

maciekch

New member
Joined
Aug 30, 2019
Messages
1
Hello, guys,
I need some help with a httpd error please.

editing httpd for 2 domains through Direct Admin (/CMD_CUSTOM_HTTPD) resulted in a httpd & apache error.
Httpd stopped and I cant restart it through DA nor via console. It repitedly says:

AH00526: Syntax error on line 26 of /etc/httpd/conf/extra/httpd-directories.conf:
Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not included in the server configuration

Apache 2.4.25 (stopped)
DirectAdmin 1.52.1

lines 19-33 of httpd-directories.conf:

<Directory "/var/www/html">
Options -Indexes +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
<IfModule mod_suphp.c>
suPHP_Engine On
suPHP_UserGroup webapps webapps
SetEnv PHP_INI_SCAN_DIR /var/www/config
</IfModule>
<IfModule mod_php5.c>
php_admin_value session.save_path /var/www/tmp
php_admin_value upload_tmp_dir /var/www/tmp
</IfModule>
</Directory>

line 26: suPHP_UserGroup webapps webapps

Could you please help solve the problem and bring server back to life?
 
Back
Top