Configuring SuPHP - Keep Getting An Error

Status
Not open for further replies.

mneylon

Administrator
Staff member
I've been trying to setup SuPHP on one of my servers but keep running into an error ..
No matter what I do I get an error about suPHP_UserGroup
Code:
Syntax error on line 4 of /etc/apache2/sites-enabled/xxxxxx:
Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
   ...fail!
Reading all the docs and howto articles I can find I'm at a loss
In the vhost I have the following (domain name removed):
Code:
<VirtualHost *:80>
<Directory /home/www/xxxxxxx.com/web>
suPHP_Engine On
suPHP_UserGroup xxxxxxx xxxxxxx
AddHandler x-httpd-php .php
suPHP_AddHandler x-httpd-php
</Directory>
ServerAdmin michele@xxxx.com
ServerName xxxx
DocumentRoot /home/www/xxxxxxx.com/web
DirectoryIndex index.html index.htm index.php index.php4 index.php3 index.shtml index.cgi index.pl
RewriteEngine On
ErrorLog /home/www/xxxxxxx.com/logs/error_log
CustomLog /home/www/xxxxxxx.com/logs/access_log combined
ServerSignature On
AddType application/x-httpd-php .php .php4 .php3
</VirtualHost>

Any ideas? At a loss here
 

mneylon

Administrator
Staff member
Resolved - needed to remove mod_php and any references to it in the vhosts
 
Status
Not open for further replies.
Top