Comments on How To Set Up Apache2 With mod_fcgid And PHP5 On Ubuntu 10.04
How To Set Up Apache2 With mod_fcgid And PHP5 On Ubuntu 10.04 This tutorial describes how you can install Apache2 with mod_fcgid and PHP5 on Ubuntu 10.04. mod_fcgid is a compatible alternative to the older mod_fastcgi. It lets you execute PHP scripts with the permissions of their owners instead of the Apache user.
3 Comment(s)
Comments
In case you want to serve static files alongside your PHP files and want to keep web1 and web2 separated from each other, you can add the www-data user (Apache server) to the web1 and web2 groups.
As long as files from either web1 or web2 have group read rights, the Apache server can read and serve the files while keeping web1 and web2 unable to read each others files.
Do not forget to restart the Apache webserver.
Hope this helps someone.
I will try this with fcgi because I really don't want to have to change all the sites-enabled virtual host configuration files. And it *should* improve the memory usage as well.
[All my users have group www-data with permissions 0640, 0660, 2751 or 2771 as appropriate. This way there is no visibility across users.]
Why is this article about mod_fastcgi, when the title states that it is about mod_fcgid?. Either change the tite, or the content to reflect what the title says - otherwise, you will be wasting peoples time