Apache, suexec, PHP, suPHP
Posted
by Chris_K
on Server Fault
See other posts from Server Fault
or by Chris_K
Published on 2010-04-02T18:59:22Z
Indexed on
2010/04/02
19:03 UTC
Read the original article
Hit count: 482
While I'm quite comfortable as a Linux user, my Linux Admin-fu is a bit weak. Thus, I'm here looking for guidance with a CentOS server I'm about to build.
I need to setup an Apache2 web server for a few of our clients. I want each client's web content to be under their home directory (USERDIR
in apache.conf, right?) for the static HTML sites. I want Apache to run as the client (suexec
?). Some of their stuff will be PHP apps and I'm under the impression I'll want to look at suphp
as well then.
So basically I want to look like a small version of a shared web hosting company. Considering how common those are I thought I'd easily find a nice current How-To guide on setting this all up but so far I've had very little luck. I suspect my search words are off.
So the questions (feel free to answer any or all):
- Anyone have some solid links to current/modern guides that would help me set this all up? No, the apache documentation site is not a guide ;-)
- Since I have a mix of static sites and PHP apps do I want/need both suexec and suphp installed? If so, does that introduce any challenges I should be aware of?
- Should I be looking at other options instead of suexec and suphp?
I plan to give the end users SSH, SFTP or SCP access to their stuff (if that affects anything).
Thanks in advance for your help.
© Server Fault or respective owner