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
Last revision Both sides next revision
litespeed_wiki:cloudlinux:php-selector [2018/09/14 15:53]
Michael Alegre [LiteSpeed Web Server Setting]
litespeed_wiki:cloudlinux:php-selector [2018/09/19 18:25]
Michael Alegre [LiteSpeed Web Server Setting]
Line 60: Line 60:
 Configure php selector in LiteSpeed Web Server setting to enable it for LSWS: Configure php selector in LiteSpeed Web Server setting to enable it for LSWS:
  
-  - Enable CloudLinux CageFS support ​ (Admin Console => Configuration => Server => General => Cloud-Linux,​ select applicable option, e.g., CageFS +  - Enable CloudLinux CageFS support ​under **Admin Console => Configuration => Server => General => Cloud-Linux**and select ​an applicable option, e.g., ''​CageFS''​ 
-  - Enable PHP suEXEC ​Admin Console => Configuration => Using Apache Configuration File => PHP suEXEC, set to Yes+  - Enable ​**PHP suEXEC** under **Admin Console => Configuration => Using Apache Configuration File => PHP suEXEC**, set to ''​Yes''​
   - LSPHP5 external app runs in non-daemon mode ONLY (**Run On Start Up** => ''​Yes''​ or ''​No''​). Check [[litespeed_wiki:​php:​which_php_setup_am_i_using#​php_suexec_setups|here]] for Worker mode or ProcessGroup mode setup.   - LSPHP5 external app runs in non-daemon mode ONLY (**Run On Start Up** => ''​Yes''​ or ''​No''​). Check [[litespeed_wiki:​php:​which_php_setup_am_i_using#​php_suexec_setups|here]] for Worker mode or ProcessGroup mode setup.
-  - In lsphp5 external app (Admin Console => Configuration => Server => External App => lsphp5)+  - In lsphp5 external app **Admin Console => Configuration => Server => External App => lsphp5**
  
 Change ​ Change ​
Line 85: Line 85:
 **Notes**: In order to use PHP Selector and custom php.ini, lsphp5 needs to be in **NON**-daemon mode( for example, Worker mode or ProcessGroup mode). As explained in this [[http://​blog.litespeedtech.com/​2012/​11/​29/​change-php-ini-under-php-suexec-daemon-mode-not-possible/​|blog]],​ php.ini can not be overridden in Daemon mode. **Notes**: In order to use PHP Selector and custom php.ini, lsphp5 needs to be in **NON**-daemon mode( for example, Worker mode or ProcessGroup mode). As explained in this [[http://​blog.litespeedtech.com/​2012/​11/​29/​change-php-ini-under-php-suexec-daemon-mode-not-possible/​|blog]],​ php.ini can not be overridden in Daemon mode.
  
-Admin Console => Configuration ​=> Server ​=> External App => lsphp5+**Configuration > Server > External App > lsphp5**
 <​code>​ <​code>​
 Run On Start Up => Yes or No Run On Start Up => Yes or No
  • Admin
  • Last modified: 2020/07/18 11:34
  • by qtwrk