Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:php:which_php_setup_am_i_using [2018/09/24 16:12] Michael Alegre [Which PHP setup am I using?] |
litespeed_wiki:php:which_php_setup_am_i_using [2019/05/23 19:09] Jackson Zhang [Enable PHP SuEXEC for LiteSpeed Web Server (Native) or OpenLiteSpeed] |
||
---|---|---|---|
Line 10: | Line 10: | ||
===== Enable PHP SuEXEC for LiteSpeed Web Server (Native) or OpenLiteSpeed ===== | ===== Enable PHP SuEXEC for LiteSpeed Web Server (Native) or OpenLiteSpeed ===== | ||
To enable SuEXEC for LSWS native or on OpenLiteSpeed, you will need to create external apps (name should be unique and different than server level external apps and other virtual host external apps, for example, lsphp_$vhost; also set it to run as username:usergroup to implement PHP SuEXEC) and script handler pointing to the newly created external app under each virtual host. | To enable SuEXEC for LSWS native or on OpenLiteSpeed, you will need to create external apps (name should be unique and different than server level external apps and other virtual host external apps, for example, lsphp_$vhost; also set it to run as username:usergroup to implement PHP SuEXEC) and script handler pointing to the newly created external app under each virtual host. | ||
+ | {{ :litespeed_wiki:php:lsws-navie-php-suexec.png?800 |}} | ||
===== PHP Process Modes: ProcessGroup/Daemon/Worker ===== | ===== PHP Process Modes: ProcessGroup/Daemon/Worker ===== | ||
Line 17: | Line 17: | ||
===== Which PHP setup am I using? ===== | ===== Which PHP setup am I using? ===== | ||
- | LiteSpeed Web Server comes with [[litespeed_wiki:php:process-mode|a number of PHP setups]]. Less experienced users may be confused as to which PHP setup they are using. Follow the steps in this wiki to determine which PHP setup you're using. | + | LiteSpeed Web Server comes with [[litespeed_wiki:php:process-mode|a number of PHP process modes]]. Less experienced users may be confused as to which PHP setup they are using. Follow the steps in this wiki to determine which PHP setup you're using. |
==== suEXEC or non-suEXEC? ==== | ==== suEXEC or non-suEXEC? ==== | ||
Line 33: | Line 33: | ||
Please refer to Cpanel documentation: | Please refer to Cpanel documentation: | ||
- | https://documentation.cpanel.net/display/ALD/Configure+PHP+and+suEXEC | + | https://documentation.cpanel.net/display/ALD/MultiPHP+Manager+for+WHM |