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 [2018/09/18 20:54]
Michael Alegre [Native (without a control panel)]
litespeed_wiki:php [2019/07/26 19:39]
Jackson Zhang [Configuration Tips]
Line 18: Line 18:
 Unlike apache or nginx using php-fpm or fastcgi, LSWS uses LSPHP, which is faster than php-fpm or fastcgi. On LSWS (native), you can install LSPHP from LiteSpeed CentOS, Ubuntu/​Debian repositories,​ then create/​configure external app and script handler to point LSWS to use the newly installed PHP binaries. ​ Unlike apache or nginx using php-fpm or fastcgi, LSWS uses LSPHP, which is faster than php-fpm or fastcgi. On LSWS (native), you can install LSPHP from LiteSpeed CentOS, Ubuntu/​Debian repositories,​ then create/​configure external app and script handler to point LSWS to use the newly installed PHP binaries. ​
  
-Please see this [[litespeed_wiki:​php:​configuring-lsws-for-php|LSPHP Setup Overview]].+Please see [[litespeed_wiki:​php:​configuring-lsws-for-php|Configuring LiteSpeed Web Server for PHP]].
  
  
Line 60: Line 60:
   * [[litespeed_wiki:​php:​mysql-persistent-connections|Performance tip: avoid php/mysql persistent connections.]]   * [[litespeed_wiki:​php:​mysql-persistent-connections|Performance tip: avoid php/mysql persistent connections.]]
   * [[litespeed_wiki:​php:​run-without-timeouts|Disable PHP timeouts: Make LSWS compatible with long-running processes]]   * [[litespeed_wiki:​php:​run-without-timeouts|Disable PHP timeouts: Make LSWS compatible with long-running processes]]
-  * [[litespeed_wiki:​php:​generate-source-code-with-lsapi|Use LSAPI to generate source code for viewing with a browser]]+  * [[litespeed_wiki:​php:​generate-source-code-with-lsapi|Use LSAPI to generate ​formatted PHP source code for viewing with a browser]]
   * [[litespeed_wiki:​php:​fcgi-environment-variables|Supported environment variables for non-LSAPI applications]]   * [[litespeed_wiki:​php:​fcgi-environment-variables|Supported environment variables for non-LSAPI applications]]
   * [[litespeed_wiki:​php:​maxwaitq-limit|PHP Max Wait Queue Limit: Preventing the PHP wait queue from getting too long]]   * [[litespeed_wiki:​php:​maxwaitq-limit|PHP Max Wait Queue Limit: Preventing the PHP wait queue from getting too long]]
Line 70: Line 70:
   * [[litespeed_wiki:​php:​per-directory-php|Enabling per-directory PHP in LSWS (native)]]   * [[litespeed_wiki:​php:​per-directory-php|Enabling per-directory PHP in LSWS (native)]]
  
 +===== Troubleshooting =====
 +  * [[litespeed_wiki:​php:​why-php-error-reporting-not-working|Why PHP error reporting not working?]]
 ===== Add-Ons/​Extensions ===== ===== Add-Ons/​Extensions =====
   * [[http://​www.litespeedtech.com/​support/​forum/​showthread.php?​t=874|Connecting to Oracle with PHP + LSAPI]]   * [[http://​www.litespeedtech.com/​support/​forum/​showthread.php?​t=874|Connecting to Oracle with PHP + LSAPI]]
-  * [[http://​wowtutorial.org/​tutorial/​3.html|Building a LiteSpeed PHP5 LSAPI With Suhosin Patch and Extension on FreeBSD 6.2]] 
   * [[litespeed_wiki:​php:​new_relic|How to get New Relic to work with LSWS]]   * [[litespeed_wiki:​php:​new_relic|How to get New Relic to work with LSWS]]
  
  
  • Admin
  • Last modified: 2020/01/15 19:36
  • by Jackson Zhang