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.
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.