Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
litespeed_wiki:cloudlinux:different_php_versions_per_directories_using_php_selector [2017/06/28 14:52]
Jackson Zhang
litespeed_wiki:cloudlinux:different_php_versions_per_directories_using_php_selector [2017/06/28 14:58]
Jackson Zhang
Line 30: Line 30:
  ​**Step1**:​ Force upgrade to the latest LSWS version  ​**Step1**:​ Force upgrade to the latest LSWS version
     /​usr/​local/​lsws/​admin/​misc/​lsup.sh -f -v <​version>​     /​usr/​local/​lsws/​admin/​misc/​lsup.sh -f -v <​version>​
 +
  ​**Step2**:​ In the admin console, create handlers for **lsphp52/​lsphp53/​lsphp54/​lsphp55/​lsphp56/​lsphp70**. Each handler should point to cloud linux PHP selector lsphp binary, such as **/​opt/​alt/​php5x/​usr/​bin/​lsphp**.  ​**Step2**:​ In the admin console, create handlers for **lsphp52/​lsphp53/​lsphp54/​lsphp55/​lsphp56/​lsphp70**. Each handler should point to cloud linux PHP selector lsphp binary, such as **/​opt/​alt/​php5x/​usr/​bin/​lsphp**.
 {{ :​litespeed_wiki:​cloudlinux:​cpanel-ea3-multi-php-cl-php-selector.png?​700 |}} {{ :​litespeed_wiki:​cloudlinux:​cpanel-ea3-multi-php-cl-php-selector.png?​700 |}}
 +{{ :​litespeed_wiki:​cloudlinux:​cpanel-ea3-multi-php-cl-php-selector3.png?​500 |}}
 +
  
  ​**Step3**:​ In the admin console, create suffixed **.php52 .php53 .php54 .php55 .php56 .php70** and associate them with above related external app handlers.  ​**Step3**:​ In the admin console, create suffixed **.php52 .php53 .php54 .php55 .php56 .php70** and associate them with above related external app handlers.
  • Admin
  • Last modified: 2017/07/06 16:12
  • by Kacey Schroeder