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
Next revision Both sides next revision
litespeed_wiki:php [2014/01/28 20:36]
Michael [PHP]
litespeed_wiki:php [2015/06/29 15:38]
Jackson Zhang [Add-Ons/Extensions]
Line 1: Line 1:
 ====== PHP ====== ====== 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:​how_do_i_set_up_an_external_application|create a PHP external application mapping to the installed PHP Binary]] ​ and set a script handler mapping to the PHP external application.
 +
 +
 +====== PHP Installation ======
  
 ~~NOTOC~~ ~~NOTOC~~
-|[[litespeed_wiki:​how_do_i_set_up_an_external_application|How Do I Set Up an External Application?​]]|Setting up LSWS to run with dynamic content| +
-|[[litespeed_wiki:​php:​lsapi|Compile PHP 4/5 with LSAPI]]|Compiling and installing a custom PHP with LSAPI| +
-|[[litespeed_wiki:​php:​lsapi:​troubleshoot|Compile PHP Troubleshooting]]|A troubleshooting guide for compiling and installing a custom PHP with LSAPI|+
 |[[litespeed_wiki:​how_do_i_configure_lsws_for_php|How Do I Configure LSWS for PHP?]]|A step-by-step guide| |[[litespeed_wiki:​how_do_i_configure_lsws_for_php|How Do I 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| |[[litespeed_wiki:​php:​rpm|Installing LSPHP via RPM]]|The faster way to get PHP|
-|[[litespeed_wiki:​php_lsapi:update|Updating PHP LSAPI]]|How to update your copy of PHP LSAPI+ 
-|[[litespeed_wiki:​php:​lsapi_ubuntu_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|LSPHP Command Line Mode]]|Good for service scalability.|+====== PHP Mode====== 
 +|[[litespeed_wiki:​php:which_php_setup_am_i_using|suEXEC or non-suEXEC]]|Guide to figure out which PHP setup they 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:​php70_installation|PHP 7 Installation]]|How to install PHP 7 on LSWS.| 
 + 
 +====== PHP Troubleshooting ====== 
 + 
 +~~NOTOC~~ 
 + 
 |[[litespeed_wiki:​php_503_error|Troubleshooting 503 Errors]]|Basic steps to troubleshoot PHP-related issues in LSWS.| |[[litespeed_wiki:​php_503_error|Troubleshooting 503 Errors]]|Basic steps to troubleshoot PHP-related issues in LSWS.|
 +|[[litespeed_wiki:​php:​lsapi:​troubleshoot|Troubleshooting PHP compiling errors]]|A troubleshooting guide for compiling and installing a custom PHP with LSAPI|
 +
 +====== CloudLinux PHP Selector ======
 +|[[litespeed_wiki:​cl_phpselector_how_to|CloudLinux PHP Selector How-To]]|PHP Selector(CloudLinux) How-To: Install and Configurations with LSWS|
  
 ====== Add-Ons/​Extensions ====== ====== Add-Ons/​Extensions ======
  
-|[[litespeed_wiki:​php:​opcode_cache|PHP Opcode Cache: APC]]|How to setup proper opcode caching for PHP| 
 |[[http://​www.litespeedtech.com/​support/​forum/​showthread.php?​t=874|PHP + Oracle]]|How to connect to Oracle with PHP + LSAPI| |[[http://​www.litespeedtech.com/​support/​forum/​showthread.php?​t=874|PHP + Oracle]]|How to connect to Oracle with PHP + LSAPI|
 |[[http://​nix101.com/​2007/​09/​22/​setting-up-a-secure-and-fast-php-build-for-litespeed|PHP5 + Suhosin Patch and Extension]]|How to build a Litespeed PHP5 LSAPI With Suhosin Patch and Extension| |[[http://​nix101.com/​2007/​09/​22/​setting-up-a-secure-and-fast-php-build-for-litespeed|PHP5 + Suhosin Patch and Extension]]|How to build a Litespeed PHP5 LSAPI With Suhosin Patch and Extension|
 |[[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| |[[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:​uploadprogress_bar|PHP Upload Progress Bar]]|How to setup upload progress bar  for PHP|
-|[[litespeed_wiki:​cl_phpselector_how_to|CloudLinux PHP Selector How-To]]|PHP Selector(CloudLinux) ​How-To: Install and Configurations ​with LSWS|+|[[litespeed_wiki:​php:​new_relic|New Relic Installation Guide]]|How ​to get New Relic to work with LSWS|
  
 ====== Configuration Tips ====== ====== Configuration Tips ======
 +|[[litespeed_wiki:​php:​lsapi_ubuntu_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|LSPHP Command Line Mode]]|Good for service scalability.|
 |[[litespeed_wiki:​PHP_MYSQL_Persistent_Connections|PHP/​MySQL]]|Performance tip: avoid php/mysql persistent connections.| |[[litespeed_wiki:​PHP_MYSQL_Persistent_Connections|PHP/​MySQL]]|Performance tip: avoid php/mysql persistent connections.|
 |[[litespeed_wiki:​multiple_phps_in_control_panel_lsws|Run multiple PHPs in LiteSpeed + Control Panel]]|How to run multiple PHPs in LiteSpeed together with control panel| |[[litespeed_wiki:​multiple_phps_in_control_panel_lsws|Run multiple PHPs in LiteSpeed + Control Panel]]|How to run multiple PHPs in LiteSpeed together with control panel|
-|[[litespeed_wiki:​php_run_without_timeout|Run PHP as long as possible]]|How to Run PHP as Long as Possible|+|[[litespeed_wiki:​php_run_without_timeout|Disable ​PHP timeouts]]|Make LSWS compatible with long-running processes|
 |[[litespeed_wiki:​php_lsapi:​generate_source|Generate Source Code]]|Use LSAPI to generate source code for viewing with a browser| |[[litespeed_wiki:​php_lsapi:​generate_source|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_fcgi_environment_variables|Environment Variables for PHP FCGI Applications?​]]|Supported environment variables for non-LSAPI applications|
-|[[litespeed_wiki:​per_user_ini_in_control_panel_lsws|Custom/Per user php.ini ​in LiteSpeed + Control Panel]]|How to use custom/per user php.ini ​in LiteSpeed together with control ​panel+|[[litespeed_wiki:​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_performance_improvement|PHP performance]]|How to improve PHP performance| 
 +|[[litespeed_wiki:​disable_module_for_specific_account|Disable 3rd party module for specific account]]|How to disable 3rd party module for specific account| 
 +|[[litespeed_wiki:​php_control_max_idle_time|Control PHP max idle time]]|How to control PHP max idle time| 
 +|[[litespeed_wiki:​php_memory_increase|Increase PHP Memory Limit]]|How to increase PHP Memory Limit|
  • Admin
  • Last modified: 2020/01/15 19:36
  • by Jackson Zhang