|
LSAPI + PHP is recommended for its performance and security regardless of suEXEC.
For LSWS native vhost, in Admin CP => Virtual Host
Basic tab: ExtApp Set UID Mode => Docroot UID
External App: create vhost level lsphp5 ext app
Script Handler: suffix php => vhost lsphp5 ext app
chown docroot to userid desired, then restart lsws. PHP (LSPHP) should follow docroot uid.
CGI File UID is for CGI script (slow) not for LSAPI + PHP.
|