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:process-mode [2018/09/21 17:39] Michael Alegre [Setup] |
litespeed_wiki:php:process-mode [2018/09/24 18:08] Michael Alegre [Benefits] |
||
---|---|---|---|
Line 77: | Line 77: | ||
==== Benefits ==== | ==== Benefits ==== | ||
* Worker mode is compatible with custom php.ini files including CloudLinux’s CageFS php.ini files, allowing the use of CloudLinux's PHP Selector. | * Worker mode is compatible with custom php.ini files including CloudLinux’s CageFS php.ini files, allowing the use of CloudLinux's PHP Selector. | ||
- | * When running PHP using a suEXEC execution method, Worker mode conserves resources by killing idle processes. This is more efficient than Apache + PHP-FPM where at least one process is always running in each user's pool. | + | * Worker mode conserves resources by killing idle processes. When running PHP using a suEXEC execution method, this is more efficient than Apache + PHP-FPM where at least one process is always running in each user's pool. |
==== Limitations ==== | ==== Limitations ==== | ||
Line 84: | Line 84: | ||
==== Setup ==== | ==== Setup ==== | ||
- | LiteSpeed Web Server will use Worker mode will be used when none the setting requirements for [[#processgroup_mode|ProcessGroup mode]] (default) or [[#daemon_mode|Daemon mode]] have been met. LiteSpeed Web Server may also automatically switch to Worker mode at the Server level if it detects a custom php.ini file while running in [[#daemon_mode|Daemon mode]]. | + | LiteSpeed Web Server will use Worker mode when none of the setting requirements for [[#processgroup_mode|ProcessGroup mode]] (default) or [[#daemon_mode|Daemon mode]] have been met. LiteSpeed Web Server may also automatically switch to Worker mode at the Server level if it detects a custom php.ini file while running in [[#daemon_mode|Daemon mode]]. |
===== Mode Comparison ===== | ===== Mode Comparison ===== |