PHP is fully supported by OpenLiteSpeed out of box. No additional configuration is required. However the default binary installed(/usr/local/lsws/fcgi-bin/lsphp) is a minimum build for testing use and can not be used for real applications. This article is not intended to provide instruction on how…
By default, all virtual hosts use the server-level external applications and script handlers. You can, however, set up virtual host-specific PHP settings by creating virtual host-level external applications and script handlers that link to custom-built PHP executables. This will allow you to set up…
Multiple PHP Versions on OpenLiteSpeed Users may want to setup multi-PHP versions and use a different version for different virtual host/domain. This wiki will address setting up multiple PHPs for one installation of OpenLiteSpeed. The wiki assumes you have our repository installed and enabled and that PHP…
Installing PHP with LiteSpeed SAPI from a repository is much faster and recommended way. PHP for LiteSpeed (LSAPI) is available in two repositories — Remi Repository(CentOS) and our own LiteSpeed Repository(CentOS/Debian/Ubuntu). Choose the repository that best fits your needs. Installing PHP from the LiteSpeed…