|
|

02-13-2010, 09:13 AM
|
|
Senior Member
|
|
Join Date: Apr 2009
Posts: 160
|
|
suphp ?
i am having little issues of spam , in apache we enable suphp to replace "nobody" with account name , how can this be done in litespeed ?
|

02-13-2010, 06:29 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,287
|
|
|
Server-->General-->PHP suEXEC:Yes
|

02-13-2010, 09:47 PM
|
|
Senior Member
|
|
Join Date: Apr 2009
Posts: 160
|
|
i tried it but sites ending showing permission errors thought i made all folders 0755 still 
|

02-13-2010, 09:53 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,287
|
|
|
the detail error message? may need investigate them one by one.
|

02-13-2010, 10:11 PM
|
|
Senior Member
|
|
Join Date: Apr 2009
Posts: 160
|
|
|
generally in suphp it used to be permission issues where folder with 0777 has to be changed to 0755 is it not same here ? and i see two options per home directory or whole which is good ?
|

02-13-2010, 10:26 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,287
|
|
Quote:
Originally Posted by bhanuprasad1981
and i see two options per home directory or whole which is good ?
|
From the menu tips:
"When set to yes, PHP script will be executed under the user specified, as well as the group unless Force GID is set.
When set to "User's Home Directory Only", scripts outside a user's home directory will run as the global user/group that the web server run as. "
you can try either of them, see which fits your site best.
|

02-15-2010, 11:46 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,603
|
|
Quote:
Originally Posted by bhanuprasad1981
i tried it but sites ending showing permission errors thought i made all folders 0755 still 
|
If Apache suPHP works properly, Litespeed PHP suEXEC should work equally well. You also need to take care of the permission of parent directory as well.
|

05-21-2010, 05:45 PM
|
|
Member
|
|
Join Date: May 2010
Posts: 42
|
|
|
We presently run Apache2.2 with PHP 5.2.x in suPHP with modsecurity. Our servers have been running this configuration for quite a long time now with hundreds of clients each. I have read nothing but rave reviews regarding LiteSpeed Enterprise. From what I gather from LiteSpeed threads and articles I can drop LiteSpeed in to replace Apache. Is this entirely true? What issues may we encounter with clients configurations? Custom php.ini's no longer work correct? Is the LiteSpeed suxec mode using the phpsuexec? Is phpsuexec still even being developed?
What are the performance benefits of LiteSpeed php suexec vs Apache22 suPHP?
Thank you.
|

05-22-2010, 12:20 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,287
|
|
My understanding, mod_php/phpSuExec/suPHP are 3 different apache modules.
in which, mod_php has best performance, suPHP is slowest since it run as CGI.
lsphp is php with LSAPI to work with litespeed web server. It can run as global user/group(e.g. nobody) which is like mod_php, also it can run in suExec mode as user's privilege. and they can run at the same time --- some lsphp processes run as global user, while some lsphp processes run in suExec mode.
We did some bechmark tests regarding various PHP a few months back, and posted the result on our blog:
http://blog.litespeedtech.com/2010/0...ache-vs-nginx/
Litespeed is apache interchangeable. however, you need rebuild php with LSAPI to work with litespeed. custom php.ini should work as before and no need change, or minimum change only -- for example, the php extension's directory.
|

05-23-2010, 11:28 AM
|
|
Member
|
|
Join Date: May 2010
Posts: 42
|
|
I already understand the difference in the modules. Your response does not address all of my inquiries.
So you are saying custom php.ini files in an accounts folder now work? I have read in other threads this no longer works and users must convert their custom php.ini files into .htaccess
I have already read the benchmark at that address, where does it compare LiteSpeed with phpSuExec vs Apache2.2 suPHP?
is phpSuExec even still being developed?
Quote:
Originally Posted by NiteWave
My understanding, mod_php/phpSuExec/suPHP are 3 different apache modules.
in which, mod_php has best performance, suPHP is slowest since it run as CGI.
lsphp is php with LSAPI to work with litespeed web server. It can run as global user/group(e.g. nobody) which is like mod_php, also it can run in suExec mode as user's privilege. and they can run at the same time --- some lsphp processes run as global user, while some lsphp processes run in suExec mode.
We did some bechmark tests regarding various PHP a few months back, and posted the result on our blog:
Litespeed is apache interchangeable. however, you need rebuild php with LSAPI to work with litespeed. custom php.ini should work as before and no need change, or minimum change only -- for example, the php extension's directory.
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 10:13 PM.
|
|