LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Clients not using Litespeed

Reply
 
Thread Tools Display Modes
  #11  
Old 04-08-2009, 08:09 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Everything follow Linux file system permissions, no web server can get around it.
If your PHP run as nobody, it will create file as nobody, if it run as the user id defined in vhost, it will create file as that user.
LiteSpeed has the option to setup the permission model exactly as Apache, whether to use PHP suEXEC, it is your call.
We recommend using eaccelerator with /dev/shm as the cache disk storage.
Reply With Quote
  #12  
Old 04-08-2009, 09:01 AM
Bono Bono is offline
Senior Member
 
Join Date: Jan 2009
Posts: 75
Quote:
Originally Posted by mistwang View Post
Everything follow Linux file system permissions, no web server can get around it.
If your PHP run as nobody, it will create file as nobody, if it run as the user id defined in vhost, it will create file as that user.
LiteSpeed has the option to setup the permission model exactly as Apache, whether to use PHP suEXEC, it is your call.
We recommend using eaccelerator with /dev/shm as the cache disk storage.
Thanks, if you explained like that before I wouldn't have any complain about support. Thing is that apache2 worked as user nobody but generated files as vhost user1:user1 without defined user1:user1 in vhost. Since LSWS reads apache config I didn't touch it, I see in config there is now only variable suPHP because I ran it for few days.

<IfModule mod_suphp.c>
suPHP_UserGroup user1 user1
</IfModule>

Anyway I will try to make workaround that with http://httpd.apache.org/docs/2.0/mod....html#user-ids

Xcache works for me much better than Eaccelerator, only problem is while su php is enabled it doesn't work properly.
Thanks
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:19 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.