Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:php:lsapi-command-line-mode [2018/09/18 21:27]
Michael Alegre [Setup LSAPI external app and script handler]
litespeed_wiki:php:lsapi-command-line-mode [2018/09/18 21:29] (current)
Michael Alegre [Note]
Line 74: Line 74:
   * PHP scripts on local web server need to be rsync'​d over to the remote server with exact path.   * PHP scripts on local web server need to be rsync'​d over to the remote server with exact path.
  
-  * If local web server is chroot'​d,​ then chroot needs to map to file system root of the remote server. e.g. if web server chroot is /​usr/​local/​opt,​ then /​usr/​local/​opt/​lsws/​DEFAULT/​html (default lsws vhost docroot) needs to be rsync'​d over and placed on remote server as /​lsws/​DEFAULT/​html.+  * If local web server is chroot'​d,​ then chroot needs to map to file system root of the remote server. e.g. if web server chroot is ''​/​usr/​local/​opt''​, then ''​/​usr/​local/​opt/​lsws/​DEFAULT/​html'' ​(default lsws vhost docroot) needs to be rsync'​d over and placed on remote server as ''​/​lsws/​DEFAULT/​html''​.
  
-  * If no chroot, then /​usr/​local/​lsws/​DEFAULT/​html should be rsync'​d over as /​usr/​local/​lsws/​DEFAULT/​html.+  * If no chroot, then ''​/​usr/​local/​lsws/​DEFAULT/​html'' ​should be rsync'​d over as ''​/​usr/​local/​lsws/​DEFAULT/​html''​.
  
   * For load balancing backend PHP setup, since PHP runs on different servers, a central shared PHP session storage like memcached, etc is recommended as LSWS load balancing is not session aware. An ideal set up is using LiteSpeed Load Balancer which is session aware in front of LiteSpeed web server clusters.   * For load balancing backend PHP setup, since PHP runs on different servers, a central shared PHP session storage like memcached, etc is recommended as LSWS load balancing is not session aware. An ideal set up is using LiteSpeed Load Balancer which is session aware in front of LiteSpeed web server clusters.
  • Admin
  • Last modified: 2018/09/18 21:27
  • by Michael Alegre