Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36516 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78461 invoked from network); 25 Mar 2008 19:43:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Mar 2008 19:43:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=thetaphi@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=thetaphi@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 80.190.230.99 as permitted sender) X-PHP-List-Original-Sender: thetaphi@php.net X-Host-Fingerprint: 80.190.230.99 www.troja.net Linux 2.5 (sometimes 2.4) (4) Received: from [80.190.230.99] ([80.190.230.99:39092] helo=mail.troja.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1B/D9-28012-6E559E74 for ; Tue, 25 Mar 2008 14:43:36 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.troja.net (Postfix) with ESMTP id C9B36444AC; Tue, 25 Mar 2008 20:43:31 +0100 (CET) Received: from mail.troja.net ([127.0.0.1]) by localhost (cyca.troja.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28097-05; Tue, 25 Mar 2008 20:43:29 +0100 (CET) Received: from VEGA (port-83-236-62-51.dynamic.qsc.de [83.236.62.51]) (using SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.troja.net (Postfix) with ESMTP id 6A98A444A1; Tue, 25 Mar 2008 20:43:29 +0100 (CET) To: "'Pierre Joye'" , "'George Wang'" Cc: References: <47E80EB9.60900@litespeedtech.com> <698DE66518E7CA45812BD18E807866CE0165A861@us-ex1.zend.net> <20080325100552.00o51usgg04oogw0@mail.litespeedtech.com> <47E93244.4060001@litespeedtech.com> Date: Tue, 25 Mar 2008 20:43:29 +0100 Message-ID: <000001c88eb0$80dbdce0$a401a8c0@VEGA> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AciOncI/dDwP6jTHSziTyaDd1RQqmAAEhrKA In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Virus-Scanned: amavisd-new at troja.net Subject: RE: [PHP-DEV] Inclusion of PHP LiteSpeed SAPI in the standard PHP distribution? From: thetaphi@php.net ("Uwe Schindler") > > > As of php 5.3, it is possible to have a per directory configuration, > > > either using the system php.ini or using a .htaccess-like php.ini > > > (.user.ini). The concept is based on what you have in htscanner but > in > > > a much better way (same syntax than in any php.ini). The goal is to > > > enable this feature in all SAPIs. > > > I am sure the new per directory configuration should work with > LiteSpeed > > SAPI. However, if it needs to scan each directory repeatedly for each > > request, it will slow down PHP even further. > > It is cached using a user defined ttl. Hi Pierre, How do I enable another SAPIs for this per-dir ini files? How are they named? Found no documentation about it. I would like to upgrade my NSAPI module (Sun Webservers) for it. As Sun Webservers do not know .htaccess files, PHP is hard to configure for specific directories (it is possible, but you must map all ini entries as extra parameters in the php5_execute NSAPI call, which can be made per-dir, in the central config files). A per-dir config by "magic files" like ".php.ini" in script folder would be good. Is there a generic solution for SAPIs? Uwe