What is LSAPI?
LSAPI (LiteSpeed Server Application Programming Interface) is a high-performance API developed by LiteSpeed Technologies for serving dynamic content. It is specifically designed to deliver superior speed and efficiency when running PHP applications on LiteSpeed Web Server or OpenLiteSpeed. LSAPI is optimized for performance, stability, and security, and is the preferred method for running PHP on LiteSpeed.
Key Benefits of LSAPI
- ● High Performance: Faster execution compared to CGI or PHP-FPM.
- ● Efficient Resource Usage: Uses fewer CPU and memory resources.
- ● Full SuEXEC Support: Secure handling of file permissions and user ownership.
- ● Stable Under Load: Better performance even under high-traffic situations.
- ● LiteSpeed Exclusive: Optimized specifically for LiteSpeed servers.
✅ Tip: LSAPI is automatically used when you install PHP through LiteSpeed WebAdmin or WHM plugin. No extra configuration is needed in most cases.
LSAPI vs PHP-FPM vs CGI/FastCGI
Feature | LSAPI | PHP-FPM | CGI/FastCGI |
---|---|---|---|
Performance | Very High | High | Slower |
Stability | Excellent | Can crash under load | Depends on setup |
Resource Usage | Efficient | Higher memory usage | Higher CPU |
Compatibility | Full with LiteSpeed | Partial | Good |
SuEXEC Support | Yes | Yes | Yes |
❗ Need Help?
Our support team can install and configure LSAPI for you. Contact Support