Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
litespeed_wiki:php:configuring-lsws-for-php [2019/05/28 19:27]
Jackson Zhang [Step 4: Perform a Graceful Restart]
litespeed_wiki:php:configuring-lsws-for-php [2019/10/18 20:14]
Jonathan Kagan [Configuring LiteSpeed Web Server for PHP]
Line 6: Line 6:
   - Up to 50% better performance   - Up to 50% better performance
   - Support for dynamic PHP configuration changes through web server configuration and .htaccess files.   - Support for dynamic PHP configuration changes through web server configuration and .htaccess files.
-  
-For cPanel, if you are using EasyApache 3, PHP should be built and working fine with Apache through EA3, then LiteSpeed builds matching PHP (with LSAPI) through LiteSpeed WHM/cPanel plugin. See [[litespeed_wiki:​cpanel:​auto-installer|cPanel installation Guide]]. For EA4, PHP no longer needs to be built, please refer [[litespeed_wiki:​cpanel:​easyapache4-config|here]] instead. 
- 
-For Plesk, please refer [[litespeed_wiki:​plesk:​php_guide|here]]. 
- 
-For DirectAdmin,​ we recommend [[litespeed_wiki:​directadmin:​custombuild-installation|DA CustomBuild 2.0]] to build matching PHP. 
- 
-For CloudLinux PHP Selector, please refer [[litespeed_wiki:​cloudlinux:​php-selector|here]]. 
- 
-If no control panel PHP or no CloudLinux PHP is used, we suggest to install PHP packages through rpms/​apt-get packages. PHP source code compiling is another alternative option but it is not recommend unless there are special requirements. 
- 
-If your PHP runs into 503 errors, this is often indicative of a problem with PHP. Please see our [[litespeed_wiki:​php:​503-errors|503 troubleshooting guide]] for the necessary steps to diagnose and fix these errors. 
  
 ===== Step 1: Install LSPHP through repositories ===== ===== Step 1: Install LSPHP through repositories =====
Line 51: Line 39:
       <​note></​note>​       <​note></​note>​
       <​maxConns>​35</​maxConns>​       <​maxConns>​35</​maxConns>​
-      <​env>​PHP_LSAPI_MAX_REQUESTS=500</​env>​+      <​env>​PHP_LSAPI_MAX_REQUESTS=5000</​env>​
       <​env>​PHP_LSAPI_CHILDREN=35</​env>​       <​env>​PHP_LSAPI_CHILDREN=35</​env>​
       <​initTimeout>​60</​initTimeout>​       <​initTimeout>​60</​initTimeout>​
  • Admin
  • Last modified: 2019/10/18 20:27
  • by Jonathan Kagan