'force gid' not working

mistwang

LiteSpeed Staff
#22
What's your "force gid" configuration, does the gid exist in /etc/group?

Let you php script run shell command "id" to dump the uid and gids, you can PM me the result.
 

mistwang

LiteSpeed Staff
#23
From the information in your PM, looks like your PHP is not running in suEXEC mode, so, everything run as the default server UID.
If you configure your vhosts natively from LSWS console, you should add a VHost Level lsphp_$VH_NAME external app, and corresponding script handler configuration for ".php".
The easiest way is to use our PHP suEXEC vhost template.
 
#24
I believe I have all of that set up correctly already too :-/

LiteSpeed API App Definition Edit Delete Back
Name PHP5
Address uds://tmp/lshttpd/$VH_NAME_lsphp.sock
Notes Not Set
Max Connections 5
Environment Not Set
Initial Request Timeout (secs) 180
Retry Timeout (secs)0
Persistent Connection Yes
Connection Keepalive Timeout30
Response Buffering No
Auto Start Yes
Command $SERVER_ROOT/fcgi-bin/lsphp
Back Log 10
Instances 5
Run On Start Up No
Max Idle Time 60
Priority 0
Memory Soft Limit 200M
Memory Hard Limit (bytes) 250M
Process Soft Limit 100
Process Hard Limit 200

and for the handler

Suffixes: php
Handler type: Litespeed API
Handler name: [server level]: lsphp5

should that be vhost level php5? when i switch it to that I get no output whatsoever when i load the page.
 
Top