Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:php:process-mode [2018/09/21 17:36] Michael Alegre [Limitations] |
litespeed_wiki:php:process-mode [2018/09/21 17:39] Michael Alegre [Setup] |
||
---|---|---|---|
Line 35: | Line 35: | ||
</code> | </code> | ||
- | Note the two LiteSpeed-specific directives ''[[litespeed_wiki:php:lsapi-environment-variables#lsphp_processgroup|LSPHP_ProcessGroup]]'' and ''[[litespeed_wiki:php:lsapi-environment-variables#lsphp_workers|LSPHP_Workers]]''. Apache will not understand these directives and may crash if it encounters outside of by an ''<IfModule LiteSpeed>'' block. | + | Note the two LiteSpeed-specific directives ''[[litespeed_wiki:php:lsapi-environment-variables#lsphp_processgroup|LSPHP_ProcessGroup]]'' and ''[[litespeed_wiki:php:lsapi-environment-variables#lsphp_workers|LSPHP_Workers]]''. Apache will not understand these directives and may crash if it encounters them outside of by an ''<IfModule LiteSpeed>'' block. |
==== Configuration tips ==== | ==== Configuration tips ==== | ||
Line 84: | Line 84: | ||
==== Setup ==== | ==== Setup ==== | ||
- | 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 a custom php.ini file is detected when running in [[#daemon_mode|Daemon mode]]. | + | 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]]. |
===== Mode Comparison ===== | ===== Mode Comparison ===== | ||
Line 92: | Line 92: | ||
^ Number of parent processes | One for each process group\\ (each user) | 1 | 0 | | ^ Number of parent processes | One for each process group\\ (each user) | 1 | 0 | | ||
^ Customize number of processes per account? | Yes | Yes | Yes | | ^ Customize number of processes per account? | Yes | Yes | Yes | | ||
- | ^ Can be enabled only for certain virtual hosts? | Yes | No | No | | + | ^ Can enable only for certain virtual hosts? | Yes | No | No | |
^ Custom php.ini supported? (Including CageFS custom php.ini) | Yes | No | Yes | | ^ Custom php.ini supported? (Including CageFS custom php.ini) | Yes | No | Yes | | ||
^ Opcode caching | Dedicated per user | Shared throughout server | No | | ^ Opcode caching | Dedicated per user | Shared throughout server | No | | ||