Return-Path: X-Original-To: apmail-httpd-docs-archive@www.apache.org Delivered-To: apmail-httpd-docs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 082D317915 for ; Wed, 28 Jan 2015 00:55:31 +0000 (UTC) Received: (qmail 67341 invoked by uid 500); 28 Jan 2015 00:55:26 -0000 Delivered-To: apmail-httpd-docs-archive@httpd.apache.org Received: (qmail 67284 invoked by uid 500); 28 Jan 2015 00:55:26 -0000 Mailing-List: contact docs-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@httpd.apache.org List-Id: Delivered-To: mailing list docs@httpd.apache.org Received: (qmail 67275 invoked by uid 99); 28 Jan 2015 00:55:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2015 00:55:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2015 00:55:24 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 9CA1D578; Wed, 28 Jan 2015 00:54:04 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Wed, 28 Jan 2015 00:54:04 -0000 Message-ID: <20150128005404.46306.20850@eos.apache.org> Subject: =?utf-8?q?=5BHttpd_Wiki=5D_Update_of_=22php=22_by_thumbs?= Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpd Wiki" for cha= nge notification. The "php" page has been changed by thumbs: https://wiki.apache.org/httpd/php?action=3Ddiff&rev1=3D8&rev2=3D9 Comment: Added a new recipe = Please see the [[php-fcgid|following article]] = + =3D=3D 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 t= hat the php system libraries and DSO must be (re)compiled with the thread-s= afe 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 eno= ugh (MaxConnectionsPerChild > 0) since child processes are still prone to p= hp memory leaks and processes are likely to consume large amounts of RAM an= d 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 d= o not ship those packages. = =3D=3D Using mod_php as a DSO (deprecated) =3D=3D =20 --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org