View Single Post
  #5  
Old 02-09-2012, 05:27 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
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.
Reply With Quote