KNOWNHOST WIKI

User Tools

Site Tools


control-panels:misc:php-handlers-explained

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
control-panels:misc:php-handlers-explained [2019/07/15 15:00]
Derrick B. [CGI]
control-panels:misc:php-handlers-explained [2019/12/09 09:56]
Jonathan K. W.
Line 61: Line 61:
  
 In a Multi-PHP Environment (EasyApache 4 or using multiple versions of PHP with DirectAdmin'​s CustomBuild) the DSO+mod_ruid2 handler can only be applied to **one** PHP version -- DSO cannot be used for multiple versions of PHP at the same time. In a Multi-PHP Environment (EasyApache 4 or using multiple versions of PHP with DirectAdmin'​s CustomBuild) the DSO+mod_ruid2 handler can only be applied to **one** PHP version -- DSO cannot be used for multiple versions of PHP at the same time.
 +
 +<WRAP center round info 60%>
 +This is our default recommend handler for cPanel servers without LiteSpeed Enterprise.
 +</​WRAP>​
  
 Advantages of this handler: Advantages of this handler:
Line 99: Line 103:
   * Keeps PHP Sessions open in the background   * Keeps PHP Sessions open in the background
  
-===== LSAPI (cPanel/EA 4) =====+===== LSAPI / mod_lsapi ​=====
  
 LSAPI (''​mod_lsapi''​) is a relatively new handler that was released for cPanel/​EasyApache 4 after periodically being only available to CloudLinux servers -- ''​mod_lsapi PRO''​ (with additional configuration options) is available for DirectAdmin and cPanel/WHM servers with CloudLinux installed. ​ LSAPI is based off of LiteSpeed'​s built-in __lsphp__ handler. ​ ''​mod_lsapi''​ can replace all other handlers (CGI, SuPHP, FCGID, or DSO).  It is considered to be the fastest handler out there currently. ​ Utilizing low resource usage for both server memory and CPU. LSAPI provides an exceptional boost in performance over all other PHP handlers. The benefit of such a handler is that it can run "out of the box" not requiring any significant configuration. LSAPI (''​mod_lsapi''​) is a relatively new handler that was released for cPanel/​EasyApache 4 after periodically being only available to CloudLinux servers -- ''​mod_lsapi PRO''​ (with additional configuration options) is available for DirectAdmin and cPanel/WHM servers with CloudLinux installed. ​ LSAPI is based off of LiteSpeed'​s built-in __lsphp__ handler. ​ ''​mod_lsapi''​ can replace all other handlers (CGI, SuPHP, FCGID, or DSO).  It is considered to be the fastest handler out there currently. ​ Utilizing low resource usage for both server memory and CPU. LSAPI provides an exceptional boost in performance over all other PHP handlers. The benefit of such a handler is that it can run "out of the box" not requiring any significant configuration.
Line 106: Line 110:
  
 In a Multi-PHP Environment,​ the LSAPI handler can be applied to **all** versions. In a Multi-PHP Environment,​ the LSAPI handler can be applied to **all** versions.
- 
-<WRAP center round info 60%> 
-This is our default recommend handler for cPanel servers without LiteSpeed Enterprise. 
- 
-On servers using LiteSpeed Enterprise: you're already using LiteSpeeds direct implementation of LSAPI! 
-</​WRAP>​ 
  
 Advantages of this handler: Advantages of this handler:
Line 122: Line 120:
   * Executes PHP Scripts as user   * Executes PHP Scripts as user
  
-At this time, there do not appear to be any disadvantages to using ''​mod_lsapi''​ over other handlers.+Disadvantages of this handler:
  
-This makes it the preferred handler for servers not utilizing LiteSpeed.+  * Improper file permissions can cause a world-readable situation that introduces security risks across websites.
  
 <WRAP center round important 60%> <WRAP center round important 60%>
control-panels/misc/php-handlers-explained.txt · Last modified: 2020/05/13 11:42 by Karson N.