Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30912 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92021 invoked by uid 1010); 14 Jul 2007 07:14:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 92006 invoked from network); 14 Jul 2007 07:14:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jul 2007 07:14:05 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:20638] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/7F-11631-CB778964 for ; Sat, 14 Jul 2007 03:14:05 -0400 Received: from [127.0.0.1] ([192.168.17.11]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 14 Jul 2007 00:14:01 -0700 Message-ID: <469877B6.8010307@zend.com> Date: Sat, 14 Jul 2007 00:13:58 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Tijnema CC: PHP Developers Mailing List References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 14 Jul 2007 07:14:02.0109 (UTC) FILETIME=[8E21FAD0:01C7C5E6] Subject: Re: [PHP-DEV] Apache handler with Multiple PHP versions From: stas@zend.com (Stanislav Malyshev) > The Apache2handler SAPI should be loaded first, and read the very > first line of the PHP script to determine if a version is specified > there. If not, the handler needs to load its default PHP version. If > it is specified, it should try to load that version, and if it > couldn't find or load that version, fall back to the default version > and issue a warning. This means the engines would have to init/shutdown on each request, which makes it as bad as CGI. Why not just go FastCGI? You can use extensions like .php4 and .php5. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com