suexec php
  1. Forums
  2. General
  3. General Discussion
  1. Aleksey Mykhailov
  2. Sunday, 20 February 2011
  3.  Subscribe via email
I know two standard ways to execute php scripts with not-apache user:
1. mod_suphp
2. mpm_itk

first sucks because php works in cgi mode , user unable to set php params in .htacess for instance , this way is not good for performance

second very nice but I\'m not sure about stability and performance too ..

does cloudlinux has another way to solve this issue ?

or is it better to use litespeed (it has not bad php-fastcgi) ... but what about mod_hostinglimits ?does litespeed has something like this ? or I should just enable LVE support in it?
Rate this post:
  1. 20.02.2011 08:02:08
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1195
Joined: 09.02.2010
IMHO -- you will be surprised with how bad performance of mod_itk is.
It means separate / new process for EACH request -- even for static pages/images, etc..

So far I like either suPHP or FCGID
suPHP just works, no tunning necessary
mod_fcgid is much faster, but requires more RAM and lots of tunning.
We don\'t try to solve this problem -- and we prefer you to run PHP the way you used too. We just add extra stability to that.

LiteSpeed is great alternative. It doesn\'t need mod_hostinglimtis, as it has LVE support built in (you just have to enable it in LiteSpeed interface), and it can use this features of our kernel out of the box.
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.