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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [Solved] Litespeed not running suEXEC/LSAPI

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-08-2012, 04:39 AM
thelunny thelunny is offline
Member
 
Join Date: Feb 2012
Posts: 13
Default [Solved] Litespeed not running suEXEC/LSAPI

Hi guys, I've installed the standard version of the Litespeed Web Server.

Facing some problems with getting php files to run under suEXEC/LSAPI. Is suEXEC and LSAPI the same thing?

I can't seem to get my php files to run under the owner of the file. My Litespeed runs as nobody/nobody. My php script runs under user1/user1.

I created a php file to print out system('whoami') but I'm getting nobody instead of user1. It seems that the script is still running under the web server.

Would appreciate if someone could guide me on how this can be done and what is a proper way to verify php is running in suEXEC/LSAPI?

--

On a side note, does the default Litespeed comes with PHP 4 only? How do I switch to PHP 5? When I do a phpinfo(), it shows version 4.4.9.


Thanks for the help in advance.
Reply With Quote
 

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:14 PM.



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