Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101691 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44759 invoked from network); 26 Jan 2018 12:21:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jan 2018 12:21:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 84.19.169.162 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 84.19.169.162 mail.experimentalworks.net Received: from [84.19.169.162] ([84.19.169.162:49304] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 80/61-35287-A3D1B6A5 for ; Fri, 26 Jan 2018 07:21:17 -0500 Received: from kuechenschabe.fritz.box (ppp-46-244-174-150.dynamic.mnet-online.de [46.244.174.150]) by mail.experimentalworks.net (Postfix) with ESMTPSA id E15A36F1E9; Fri, 26 Jan 2018 13:21:11 +0100 (CET) Message-ID: <1516969271.6189.16.camel@schlueters.de> To: Hajo Locke , internals@lists.php.net Date: Fri, 26 Jan 2018 13:21:11 +0100 In-Reply-To: <881dc9e4-2593-565f-4d88-a74078219bc3@gmx.de> References: <881dc9e4-2593-565f-4d88-a74078219bc3@gmx.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] threadsafe php crashes too easily From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Fr, 2018-01-26 at 12:43 +0100, Hajo Locke wrote: > Hello List, > > i hope this is the right place to get helped. I have a promising > setup  > for testing purposes, but unfortunately i ran quick into problems. > >   I compiled a minimal libphp7.so (7.2.1)  using this line: > ./configure --disable-all  --enable-static --prefix=/usr  > --with-apxs2=/usr/bin/apxs2 --enable-maintainer-zts The enable mantainer zts should not be needed. The apache module tries to identify the configuration an enable thread-safety automatically if needed. I'd suggest removng the option and checking configure output and config.log and trying to see what it identifies ... however there's not much love for mpm_worker on the PHP side :-) If all you want is to prevent apache from complaining about php_value/php_flag directives for handling them elsewhere I'd suggest writing a simple apache module which simply registers those settings and does nothing else. Seems way less problematic. Can be done mostly by copy and paste from that site: http://httpd.apache.org/docs/2.4/developer/modguide.html#configuration johannes