httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpd Wiki] Update of "php" by thumbs
Date Wed, 28 Jan 2015 00:54:04 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The "php" page has been changed by thumbs:
https://wiki.apache.org/httpd/php?action=diff&rev1=8&rev2=9

Comment:
Added a new recipe

  
  Please see the [[php-fcgid|following article]]
  
+ == Using mod_php as a DSO with a threaded mpm (2.0 and newer)
+ 
+ This approach is identical to the next recipe, with the exception that a threaded mpm such
as event or worker can be used. The main requirement is that the php system libraries and
DSO must be (re)compiled with the thread-safe flags.
+ 
+ If apache httpd 2.0 or older is used, it must be recompiled to change the mpm. For 2.4,
loading the appropriate mpm module suffices.
+ 
+ Special care must be taken to ensure that workers are restarted often enough (MaxConnectionsPerChild
> 0) since child processes are still prone to php memory leaks and processes are likely
to consume large amounts of RAM and deplete the available system resources.
+ 
+ This is probably the least used approach of all, due to the headaches of maintaining a thread-safe
php library, and since most linux distributions do not ship those packages.
  
  == Using mod_php as a DSO (deprecated) ==
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message