Re: threadsafe php crashes too easily

From: Date: Fri, 26 Jan 2018 12:04:06 +0000
Subject: Re: threadsafe php crashes too easily
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-101690@lists.php.net to get a copy of this message
On 26 January 2018 at 11:43, Hajo Locke <Hajo.Locke@gmx.de> wrote: > the idea is to support php_value/php_flag etc. in .htaccess files for my > users even if they use a fastcgi-setup > Just a thought, but if I understand you rightly, you just need to have Apache completely ignore the php_value and php_flag lines, so would it work to build a custom Apache extension which just registered for those directives and did nothing? I know it sounds complicated, but I was able to hack in support for the UndefMacro keyword into an old version of mod_macro (result here: https://github.com/IMSoP/mod_macro) and Apache ships with a very user-friendly build tool called APXS [ https://httpd.apache.org/docs/2.4/programs/apxs.html]. It would probably fairly simple to whip up a "mod_notphp" which does nothing but register those two directives to empty callbacks. Regards, -- Rowan Collins [IMSoP]

« previous php.internals (#101690) next »