Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:php [2006/05/08 00:07]
127.0.0.1 external edit
litespeed_wiki:php [2015/11/16 18:58]
Long Hu [PHP Installation]
Line 1: Line 1:
-====== PHP Application Tips/​How-Tos/​FAQ ​======+====== PHP ====== 
 +Unlike Apache'​s mod_php, which embeds the PHP engine inside web server processes, LiteSpeed Web Server talks to standalone PHP engine processes via LSAPI interface. You will need to install PHP either through RPMs or compiling from Source code, [[litespeed_wiki:​other-ext-apps:​setup|create a PHP external application mapping to the installed PHP Binary]] ​ and set a script handler mapping to the PHP external application.
  
  
-   - [[litespeed_wiki:​php:​LSAPI|Install ​PHP with LSAPI]] +====== ​PHP Installation ======
-   - [[litespeed_wiki:​php:​Opcode Cache|Install PHP Opcode-Cache Extensions]]+
  
 +~~NOTOC~~
  
 +|[[litespeed_wiki:​php:​configuring-lsws-for-php|Configure LSWS for PHP]]|A step-by-step guide|
 +|[[litespeed_wiki:​php:​lsapi|Compile PHP for LSWS]]|Compiling PHP with LSAPI through the WebAdmin console|
 +|[[litespeed_wiki:​php:​rpm|Installing LSPHP via RPM]]|The faster way to get PHP for CentOS|
 +|[[litespeed_wiki:​php:​rpm|Installing LSPHP via APT]]|The faster way to get PHP for Debian 8|
  
 +
 +====== PHP Mode======
 +|[[litespeed_wiki:​php:​which_php_setup_am_i_using|suEXEC or non-suEXEC]]|Guide to figure out which PHP setup you are using|
 +
 +====== PHP Opcode Cache ======
 +
 +|[[litespeed_wiki:​php:​opcode_cache|Opcode Caching Overview]]|An introduction to opcode caching, its limitations,​ and popular opcode caches|
 +|[[litespeed_wiki:​php:​apc|PHP Opcode Cache: APC]]|How to setup proper opcode caching for PHP|
 +
 +====== PHP 7 ======
 +
 +~~NOTOC~~
 +
 +
 +|[[litespeed_wiki:​php:​php-7-installation|PHP 7 Installation]]|How to install PHP 7 on LSWS.|
 +
 +====== PHP Troubleshooting ======
 +
 +~~NOTOC~~
 +
 +|[[litespeed_wiki:​php:​execution-errors|PHP Execution Errors]]|Basic steps to troubleshoot PHP-related issues in LSWS.|
 +|[[litespeed_wiki:​php:​503-errors|PHP 503 Errors]]|Basic steps to troubleshoot PHP-503-related issues in LSWS.|
 +|[[litespeed_wiki:​php:​lsapi-troubleshooting|PHP Compilation Errors]]|A troubleshooting guide for compiling and installing a custom PHP with LSAPI|
 +
 +====== CloudLinux PHP Selector ======
 +|[[litespeed_wiki:​cloudlinux:​php-selector|CloudLinux PHP Selector]]|PHP Selector(CloudLinux) How-To: Install and Configurations with LSWS|
 +
 +====== Add-Ons/​Extensions ======
 +
 +|[[http://​www.litespeedtech.com/​support/​forum/​showthread.php?​t=874|PHP + Oracle]]|How to connect to Oracle with PHP + LSAPI|
 +|[[http://​wowtutorial.org/​tutorial/​3.html|PHP5 + Suhosin Patch and Extension (FreeBSD 6.2)]]|How to build a Litespeed PHP5 LSAPI With Suhosin Patch and Extension on FreeBSD 6.2|
 +|[[litespeed_wiki:​php:​uploadprogress_bar|PHP Upload Progress Bar]]|How to setup upload progress bar  for PHP|
 +|[[litespeed_wiki:​php:​new_relic|New Relic Installation Guide]]|How to get New Relic to work with LSWS|
 +
 +====== Configuration Tips ======
 +|[[litespeed_wiki:​php:​lsapi-for-ubuntu-or-debian|PHP LSAPI Ubuntu Package]]|How to create a .deb package with PHP + LSAPI for Ubuntu Dapper Drake and Edgy Eft|
 +|[[litespeed_wiki:​php:​lsapi-command-line-mode|LSPHP Command Line Mode]]|Good for service scalability.|
 +|[[litespeed_wiki:​php:​lsapi-environment-variables|LSAPI Environment Variables]]|Further configure LSAPI setups using directives and environment variables.|
 +|[[litespeed_wiki:​php:​mysql-persistent-connections|MySQL Persistent Connections]]|Performance tip: avoid php/mysql persistent connections.|
 +|[[litespeed_wiki:​php:​running-multiple-versions-with-a-control-panel|Running multiple PHP versions in LiteSpeed + Control Panel]]|How to run multiple PHP versions in LiteSpeed with a control panel|
 +|[[litespeed_wiki:​php:​run-without-timeouts|Disable PHP timeouts]]|Make LSWS compatible with long-running processes|
 +|[[litespeed_wiki:​php:​generate-source-code-with-lsapi|Generate Source Code]]|Use LSAPI to generate source code for viewing with a browser|
 +|[[litespeed_wiki:​php:​fcgi-environment-variables|Environment Variables for PHP FCGI Applications?​]]|Supported environment variables for non-LSAPI applications|
 +|[[litespeed_wiki:​php:​per-user-php-ini|Enabling Per-User php.ini Files]]|Four methods for enabling per-user php.ini when|
 +|[[litespeed_wiki:​php:​concurrency|Controlling PHP Concurrency]]|How to control how many connections your PHP engine can serve at once|
 +|[[litespeed_wiki:​php:​maxwaitq-limit|PHP Max Wait Queue Limit]]|Preventing the PHP wait queue from getting too long|
 +|[[litespeed_wiki:​php:​improve-performance|PHP performance]]|How to improve PHP performance|
 +|[[litespeed_wiki:​php:​disabling-modules-for-specific-accounts|Disable 3rd party modules for specific accounts]]|How to disable a 3rd party module for a specific account|
 +|[[litespeed_wiki:​php:​max-idle-time|Control PHP max idle time]]|How to control PHP max idle time|
 +|[[litespeed_wiki:​php:​increase-memory|Increase PHP Memory Limit]]|How to increase PHP Memory Limit|
 +|[[litespeed_wiki:​php:​pecl-extension|How to install pecl extention for LSPHP]]|How to check availability of lsphp pecl extention or build by yourself?|
  • Admin
  • Last modified: 2020/01/15 19:36
  • by Jackson Zhang