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:detached_mode:handlers [2018/09/20 18:48]
Lisa Clarke [LSWS v5.2.x and Earlier Behavior]
litespeed_wiki:php:detached_mode:handlers [2018/09/20 18:50] (current)
Lisa Clarke [Issues with lsphpxx]
Line 16: Line 16:
 LiteSpeed'​s current version specifically adds ''​alt-phpxx''​ (CloudLinux PHP selector) handler suppport for cPanel and CloudLinux systems. Hence, ''​alt-phpxx''​ and ''​ea-phpxx''​ must be treated separately. ​ LiteSpeed'​s current version specifically adds ''​alt-phpxx''​ (CloudLinux PHP selector) handler suppport for cPanel and CloudLinux systems. Hence, ''​alt-phpxx''​ and ''​ea-phpxx''​ must be treated separately. ​
  
-This allows LSWS to get along better with cPanel'​s multi-PHP manager better, since either ''​alt-phpxx''​ or ''​ea-phpxx''​ can be selected for a domain now.cPanel will add the following to ''​.htaccess'',​ depending on which php was selected, and LSWS will honor the user's choice of  ''​alt-phpxx''​ or ''​ea-phpxx'':​+This allows LSWS to get along better with cPanel'​s multi-PHP manager better, since either ''​alt-phpxx''​ or ''​ea-phpxx''​ can be selected for a domain now. cPanel will add the following to ''​.htaccess'',​ depending on which PHP was selected, and LSWS will honor the user's choice of ''​alt-phpxx''​ or ''​ea-phpxx'':​
  
   AddType application/​x-httpd-alt-php70 .php .php7 .phtml   AddType application/​x-httpd-alt-php70 .php .php7 .phtml
-  
-  AddType application/​x-httpd-ea-php70 .php .php7 .phtml 
  
 +  AddType application/​x-httpd-ea-php70 .php .php7 .phtml
 ===== Issues with lsphpxx ===== ===== Issues with lsphpxx =====
 Let's say you set all ''​lsphpxx''​ binaries to use ''​alt-phpxx''​ for all handlers, and then set some per-directory phpto use ''​ea-phpxx''​ in ''​.htaccess'',​ like so:  Let's say you set all ''​lsphpxx''​ binaries to use ''​alt-phpxx''​ for all handlers, and then set some per-directory phpto use ''​ea-phpxx''​ in ''​.htaccess'',​ like so: 
Line 33: Line 32:
 Let's also say the server only has ''​ea-php70''​ installed, and another ''​ea-phpXX''​ handler is not available. Let's also say the server only has ''​ea-php70''​ installed, and another ''​ea-phpXX''​ handler is not available.
  
-THe following:+The following:
  
   SetHandler application/​x-httpd-ea-php54   SetHandler application/​x-httpd-ea-php54
  • Admin
  • Last modified: 2018/09/20 18:48
  • by Lisa Clarke