Mod_lsapi is the fastest and most reliable way to serve PHP pages. It is a drop-in replacement for SuPHP, FCGID, RUID2, and ITK. It has a low memory footprint and understands PHP directives from .htaccess files. Mod_Isapi:
- Is faster than any other way to serve PHP with Apache.
- Doesn't suffer from stability issues in process management like PHP FPM and mod_fcgid.
- Includes the full benefits of opcode caching.
- Is compatible with MPM Worker and Event.
- Does not require tuning.
- Includes support for PHP directives in .htaccess files.
- Is a drop-in replacement for existing ways to serve PHP.
- Is fully compatible with PHP Selector.
Additional information
Why choose Mod_lsapi ? (included with cPanel*)
- The fastest way to serve PHP from Apache.
- Avoid process management stability issues (as with PHP FPM or mod_fcgid).
- Better performance through opcode caching.
- Compatibility with MPM Worker and Event.
- No tuning needed.
- Supports PHP directives in .htaccess files.
- Drop-in replacement for common PHP-serving modules.
- Fully compatible with PHP Selector.
What does Mod_lsapi PRO give you? (included with CloudLinux OS)
Up to 10% better performance
mod_lsapi PRO connection pooling improves performance by up to 10% compared with the standard mod_lsapi shipped with cPanel. CloudLinux OS eliminates connection setup delay by reusing connections previously established between Apache web server and LSAPI.
Faster startup after Apache restarts
Opcode caches stay hot between Apache restarts, because mod_lsapi PRO doesn't flush them.
Fast Time To First Byte (TTFB), with low memory footprints in multi-user environments
mod_lsapi PRO uses process checkpointing (CRIU) to save the state of PHP processes. It avoids using slow, in-memory persistence, delivering extreme TTFB ratings and a minimal memory footprint.
*Note, that Mod_lsapi is included free with cPanel, but it does not include any other CloudLinux OS features.