Best Installation for Apache + PHP on a multi-user environment

Hi,

I was wondering what is your opinion regarding php installation while using Apache - mod_php or cgi.

I searched over the net and seems to me that, if we have multiple users, the best choice is to install PHP as CGI, or better, FAST/CGI and run each VirtualHost with a SuExec directive.

I've set it up so each php script will run with uid of owner instead of nobody/apache. This way, users are more or less protected against script attacks from users on the same machine.

What do you think?

 

 

 

 

Top