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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > suExec doesn't seem to work

Reply
 
Thread Tools Display Modes
  #1  
Old 03-14-2009, 01:17 PM
everyone00 everyone00 is offline
Member
 
Join Date: Mar 2009
Posts: 11
Default suExec doesn't seem to work

I used the easy cPanel setup method. However, my PHP processes (lsphp5) are running as nobody rather than the user. How can I fix this?
Reply With Quote
  #2  
Old 03-14-2009, 08:06 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
http://www.litespeedtech.com/docs/we...ral/#phpSuExec
Reply With Quote
  #3  
Old 03-15-2009, 07:15 AM
everyone00 everyone00 is offline
Member
 
Join Date: Mar 2009
Posts: 11
Quote:
Originally Posted by mistwang View Post
I've tried that before posting. I tried the "User's Home Directory Only" settings this time around, but the script still executes as nobody. I checked Force GUID and it's not set. Any other settings I can check?
Reply With Quote
  #4  
Old 03-16-2009, 10:19 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
It is under "Server"->"General" tab, "Using Apache Configuration File".
Reply With Quote
  #5  
Old 03-16-2009, 01:00 PM
everyone00 everyone00 is offline
Member
 
Join Date: Mar 2009
Posts: 11
Quote:
Originally Posted by mistwang View Post
It is under "Server"->"General" tab, "Using Apache Configuration File".
What should I check there? suExec is enabled there (set to Yes).
Reply With Quote
  #6  
Old 03-16-2009, 08:53 PM
everyone00 everyone00 is offline
Member
 
Join Date: Mar 2009
Posts: 11
I've tracked the cause of this problem, but don't know the solution. If I got to x.com/myphpfile.php it runs as "x". If I go to mip/~x/myphpfile.php it runs as nobody. It looks like LiteSpeed doesn't recognize the user in the latter case. Why is that?
Reply With Quote
  #7  
Old 03-17-2009, 08:54 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Please try 4.0 release, just change the version number in our 4.0rc1 download link published in the forum, it works in our lab.
Reply With Quote
  #8  
Old 03-17-2009, 03:06 PM
everyone00 everyone00 is offline
Member
 
Join Date: Mar 2009
Posts: 11
Quote:
Originally Posted by mistwang View Post
Please try 4.0 release, just change the version number in our 4.0rc1 download link published in the forum, it works in our lab.
Tried that. It doesn't fix the problem. The script is still executed as nobody.
Reply With Quote
  #9  
Old 03-17-2009, 03:59 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
What's your cPanel version?
Which version of Apache was used?
Have you customized httpd.conf?
Is it possible for us to login to your server and take a look?
Reply With Quote
  #10  
Old 03-17-2009, 04:36 PM
everyone00 everyone00 is offline
Member
 
Join Date: Mar 2009
Posts: 11
Quote:
Originally Posted by mistwang View Post
What's your cPanel version?
cPanel 11.24.4-S33345 - WHM 11.24.2 - X 3.9

Quote:
Originally Posted by mistwang View Post
Which version of Apache was used?
Server version: Apache/2.2.11 (Unix)

Quote:
Originally Posted by mistwang View Post
Have you customized httpd.conf?
No.

Quote:
Originally Posted by mistwang View Post
Is it possible for us to login to your server and take a look?
Yes, just let me know where to e-mail the information.
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 03:13 PM.



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