Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101690 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42846 invoked from network); 26 Jan 2018 12:04:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jan 2018 12:04:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.53 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.53 mail-wm0-f53.google.com Received: from [74.125.82.53] ([74.125.82.53:53510] helo=mail-wm0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A0/01-35287-A391B6A5 for ; Fri, 26 Jan 2018 07:04:10 -0500 Received: by mail-wm0-f53.google.com with SMTP id t74so826880wme.3 for ; Fri, 26 Jan 2018 04:04:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=y/5UtlV10Gdta6YzaaEQPTi+3H+XuDYJDMuFJ6VkLB8=; b=uKNT+IiXPA5eV98CoNZho9wzP+J7GT05wYLTlh/7Sn4Qmv/ImfMROpD4BNE46ocSv2 O4eDiF1PZVLBku1RLkdbEzesK3jBOVWwAFdttrJumQuGw+UROH6L+3VxtSIMD7RXA5bk ocRKfKR5EZ6tCJzWrJfe0hmifnrm5JYMiNXe1stPrwEt1QADblcozvm/rZ1P2CaHDN2o Dy1nWLVprBSpJ8N3FN3U8akv9hL7RcgYVbuGtTS+ncvrgpWk0gEFOOMEHVkMIUcPo4D/ NarDohdOV1Hs7hCsbYMy77Ui8vwnm5S0AmPK8ia9/qZmwe89RxIRWtsg+wYgvbMNy/+i qK3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=y/5UtlV10Gdta6YzaaEQPTi+3H+XuDYJDMuFJ6VkLB8=; b=FHFkiIl4Ac5TCcU/HCQuhSLtIdj63lMQ5K9gichmybTGWm7QQyrwYZ80xiseFtbTJN zU+bdRrhMjPWuHyr0L+GiV1A5QnBnw6YXXZ5BJVawlVfIkMBRevgOqbvm9jk6NP8hVJ5 tmRFtaiIvVOEhyPdXAgY5buhJBXVeyrVP23SJK0272VfpA3F5xrXBKd+b/Aa7m1n6NY5 ijNKDqcZL1msnyO6wkiVKybnWKG9+rtChu4e1hdWlbSHKUfWLxgT26TmLYjUopC1aBkj U57BE/zFfYvggCjey8/1eF14DmidXY8jWOMQFTnF8RBcpizwpZXcivE5HlIVSMft3i1L vd2Q== X-Gm-Message-State: AKwxyter75dNQwy6jdyRhtLhGOq3aOZ/kO3teF3vnknYHU2tIS7/a5WY HA7GC6umkO6CRMVUMSWLWrkM47/CUf95B/hoTA7TTg== X-Google-Smtp-Source: AH8x224J3WImA40I5WAFzUGCTscfQG82wqwmJJKNqhW/gnlGFkChG7le4O4Q+yGqN07ZvCQYfFx66S5vFu2oXj8PMGk= X-Received: by 10.80.168.227 with SMTP id k90mr34435531edc.249.1516968246690; Fri, 26 Jan 2018 04:04:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.222.195 with HTTP; Fri, 26 Jan 2018 04:04:06 -0800 (PST) In-Reply-To: <881dc9e4-2593-565f-4d88-a74078219bc3@gmx.de> References: <881dc9e4-2593-565f-4d88-a74078219bc3@gmx.de> Date: Fri, 26 Jan 2018 12:04:06 +0000 Message-ID: To: PHP internals Cc: Hajo Locke Content-Type: multipart/alternative; boundary="94eb2c195be07aca560563acb14e" Subject: Re: [PHP-DEV] threadsafe php crashes too easily From: rowan.collins@gmail.com (Rowan Collins) --94eb2c195be07aca560563acb14e Content-Type: text/plain; charset="UTF-8" On 26 January 2018 at 11:43, Hajo Locke 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] --94eb2c195be07aca560563acb14e--