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
Next revision Both sides next revision
litespeed_wiki:cloudlinux:different_php_versions_per_directories_using_php_selector [2016/03/18 17:52]
Jackson Zhang
litespeed_wiki:cloudlinux:different_php_versions_per_directories_using_php_selector [2017/02/23 19:58]
Jackson Zhang
Line 1: Line 1:
 ======How to set different PHP versions per directories using PHP Selector for LSWS====== ======How to set different PHP versions per directories using PHP Selector for LSWS======
  
-Cloudlinux supports [[https://​cloudlinux.com/​view-all/​entry/​different-php-versions-per-directories-using-php-selector|different PHP versions per directory]].If need minor manual changes:+Cloudlinux supports [[https://www.cloudlinux.com/​cloudlinux-os-blog/​entry/​different-php-versions-per-directories-using-php-selector|different PHP versions per directory]]. ​CloudLinux PHP Selector has already support mul-php version, why I need this. 
 + 
 +While, please note this is not part of the standard CloudLinux PHP Selector setup. Each user can select different PHP version, but only one version can be selected for the whole user account. ​ How about setting up different php version for different directories within one cage user? You will need setup outlined in this wiki, however you should use it very carefully. 
 + 
 +If you are using control panel like cpanel, ​ you may use this for EA3 but it is not campatible for EA4 since EA4 support multi versions of PHP by default already.  
 + 
 +To use this cloudLinux feature, Minor manual changes ​are required to apache configuration as the following:
  
  Add the following section to the end of /​opt/​suphp/​etc/​suphp.conf :  Add the following section to the end of /​opt/​suphp/​etc/​suphp.conf :
  • Admin
  • Last modified: 2017/07/06 16:12
  • by Kacey Schroeder