I'm getting this issue from my vhost when i restart the httpd service.
i'm going to tell you my following steps on my server given below.
# uname -i
x86_64
# ./configure --prefix=/usr/local/suphp-2.4 --sysconfdir=/etc --with-apr=/usr/local/apr/bin/apr-1-config --with-apxs=/usr/local/apache/bin/apxs --with-apache-user=apache --with-setid-mode=paranoid --with-php=/usr/local/apache/bin/php-cgi --with-logfile=/var/log/suphp_log --enable-SUPHP_USE_USERGROUP=yes
# make
# make install
Thenafter my mod_suphp.so module sucessfully load in my httpd.conf file and apache service successfully started.
after i created a vhost and its working fine without suphp implemented also site is running fine.
but when i implement suphp on same vhost then i get this error.
Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not include
MY vhost is
[root@corp19 corpusers]# cat /usr/local/apache/conf.d/adventure.com.conf
<VirtualHost 192.168.81.137:80>
ServerAdmin
webmaster@adventure.com
DocumentRoot /websites/www/users/adventure.com
ServerName
www.adventure.com
ServerAlias adventure.com
CustomLog /usr/local/apache/logs/adventure.com_log combined
ErrorLog /usr/local/apache/logs/adventure.com-error_log
### suPHP ###
suPHP_Engine on
suPHP_UserGroup pawan pawan
suPHP_AddHandler x-httpd-php
AddHandler x-httpd-php .php .php3 .php4 .php5
<Directory /websites/www/users/adventure.com>
Options +Indexes FollowSymlinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
[root@corp19 corpusers]# /usr/local/apache/bin/apachectl
AH00526: Syntax error on line 15 of /usr/local/apache/conf.d/adventure.com.conf:
Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not included in the server configuration
Kindly tell me where i did mistake in suphp.
i'm expecting a wonderful solution.