Bryan Fullerton
2005-08-09 19:45:18 UTC
Howdy,
I'm looking at how PHP is working with some sites I'm hosting and
noticing that people are getting around disk quotas because PHP creates
files as the web server user instead of the site owner user.
I've locked this down for CGI by using suEXEC. I've googled and found I
can run PHP as a CGI, which has many warnings that the overhead may
cause slowdowns (I'm unsure if more than Python or Perl CGIs). I've also
found documentation about using FastCGI with PHP as an external
processor, which looks like it'll work but seems complicated to roll out
across a bunch of sites.
What's the preferred way to do this?
Thanks,
Bryan
I'm looking at how PHP is working with some sites I'm hosting and
noticing that people are getting around disk quotas because PHP creates
files as the web server user instead of the site owner user.
I've locked this down for CGI by using suEXEC. I've googled and found I
can run PHP as a CGI, which has many warnings that the overhead may
cause slowdowns (I'm unsure if more than Python or Perl CGIs). I've also
found documentation about using FastCGI with PHP as an external
processor, which looks like it'll work but seems complicated to roll out
across a bunch of sites.
What's the preferred way to do this?
Thanks,
Bryan