
04-08-2009, 09:01 AM
|
|
Senior Member
|
|
Join Date: Jan 2009
Posts: 75
|
|
Quote:
Originally Posted by mistwang
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
|