Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:php:per-directory-php [2018/02/20 15:29]
Lisa Clarke Proofreading
litespeed_wiki:php:per-directory-php [2018/09/17 17:30] (current)
Michael Alegre [Set Different PHP Per Virtual Host]
Line 1: Line 1:
-====== Enable Per-Directory PHP in LSWS Native ​Mode ====== +====== Enable Per-Directory PHP in LSWS (Native====== 
-It is possible to use different versions of PHP in different directories,​ but only with LiteSpeed Web Server'​s ​native ​mode. It is not applicable for control panel or Apache configuration modes.+It is possible to use different versions of PHP in different directories,​ but only with LiteSpeed Web Server ​(native) installation. It is not applicable for control panel or Apache configuration modes.
  
 ===== Set Different PHP Per Virtual Host ===== ===== Set Different PHP Per Virtual Host =====
-When you use LSWS native without Apache configuration,​ you can define the PHP version through a PHP handler for each virtual host. To do so, you normally define multiple server-level external PHP apps, and then assign different handlers at the server level and virtual host level. If no virtual host level hander is defined, the virtual host will inherit the server-level PHP configuration.+When you use LSWS (nativewithout Apache configuration,​ you can define the PHP version through a PHP handler for each virtual host. To do so, you normally define multiple server-level external PHP apps, and then assign different handlers at the server level and virtual host level. If no virtual host level hander is defined, the virtual host will inherit the server-level PHP configuration.
  
 ====Example==== ====Example====
  • Admin
  • Last modified: 2018/02/20 15:29
  • by Lisa Clarke