By Mean
<VirtualHost 162.xxx.xxx.xx:80>
ServerName X.com
ServerAlias www.X.com
DocumentRoot /var/www/html
<IfModule mod_suphp.c>
suPHP_UserGroup root root
</IfModule>
</VirtualHost>
are my settings … why does it give this error:
root@X:~# service apache2 reload
* Reloading web server apache2 *
* The apache2 configtest failed. Not doing anything.
Output of config test was:
AH00526: Syntax error on line 6 of /etc/apache2/sites-enabled/000-default.conf:
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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
suPHP_UserGroup can only be used inside of a <Directory> or <Location> block. From the suPHP documentation:
suPHP_UserGroup (expects user- and groupname)
- Only supported when compiled with setid-mode “force” or “paranoid” * Specify the user- and groupname to run PHP-scripts with. This setting can only be used within a <Directory> or <Location> context. Example: suPHP_UserGroup foouser bargroup
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.