Portal Home > Knowledgebase > Articles Database > suexec and run as nobody
suexec and run as nobody
Posted by mixmox, 01-20-2013, 12:39 PM |
hello
should we enable suexec on share hosting or off?
because process will run as user and nobody if we change suesxc status
|
Posted by kevincheri, 01-20-2013, 04:12 PM |
Suexec, now SuPhp will add security by running PHP processes under the user ownership, while dso will runs under user 'nobody' but better performance.
Now there is mod-ruid2 which allows you both advantages.
|
Posted by mixmox, 01-21-2013, 05:33 AM |
so how about fastcgi ?
there are several config like : suphp . but no cach system and use more cpu and speed is not good (so why should we use this config ?)
also fcgi has all suphp config but use more ram and has special speed and allow cach system
DSO is use on personal and high webservice use server (i think)
am i right ?
|
Posted by david510, 01-21-2013, 05:58 AM |
Apache Suexec and Suphp are completely different. Suexec controls the behavior of apache and suphp controls php.
Suphp has affect only on php. Apache suexec has no affect on php. It has affect only on executable files, such as perl, python etc.
You can safely turn on Apache suexec on a shared server for security reasons.
|
Posted by Hobvious, 01-21-2013, 06:59 AM |
A while ago we have switched to suPHP. Why?
The reason is simple, whenever an user creates an upload script (in this case it was a personal - password protected album) and uploads a photo, this photo will be owned by 'nobody'. And that's exactly the problem. When the users 'nobody' owns the file, cPanel does not add this to the used disk space which gives the user 'unlimited' disk space while paying for a specific amount. You might want to take this in consideration.
|
Posted by mixmox, 01-21-2013, 08:17 AM |
really ??? cpanel cant count "nobody" disc space ? any other experience ????
how about fcgi. it is faster than suphp also cacn system like apc or xcach can work with fcgi
|
Add to Favourites Print this Article
Also Read