Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24106 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20281 invoked by uid 1010); 13 Jun 2006 08:15:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 20265 invoked from network); 13 Jun 2006 08:15:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jun 2006 08:15:02 -0000 Received: from ([127.0.0.1:6350]) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with ECSTREAM id 07/A1-00253-6047E844 for ; Tue, 13 Jun 2006 04:15:02 -0400 X-Host-Fingerprint: 83.104.121.66 mailgate.bandvulc.co.uk Received: from ([83.104.121.66:4882] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id B0/81-00253-7907E844 for ; Tue, 13 Jun 2006 04:00:23 -0400 Message-ID: To: internals@lists.php.net Date: Tue, 13 Jun 2006 09:01:06 +0100 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 References: <10845a340606120614t6059fc24wa7bc2af74572cc11@mail.gmail.com> <448D988C.40601@vocalspace.com> In-Reply-To: <448D988C.40601@vocalspace.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 83.104.121.66 Subject: Re: [PHP-DEV] Extending SAPI specific php.ini to include, at least,major version. From: RQuadling@GMail.com (Richard Quadling) Sorry. I forgot to mention, I'm talking about the Windows pre-compiled versions of PHP. With Sambar Server, only the dll is recorded. There is no opportunity to supply any additional parameters. Another alternative would be to allow the single INI file have PHP5 and PHP6 entries. Essentially, for me, it is the extension directory. As you cannot load a PHP6 extension into PHP5 or vice-versa, having to indicate which directory contains the extensions is important. Sorry for the lack of info on this. Richard. D. Dante Lorenso wrote: > Richard Quadling wrote: >> But the issue of having the same php.ini for PHP5 and PHP6 (both are >> php-isapi.ini) is a pain and stops me from playing with them together. > > Can't you just configure PHP when you compile it with the following option: > > ./configure ... > --with-config-file-path=/path/to/php6ini/ \ > ... > > Then specify your own PHP ini search path and use different ones for each > version you compile. No changes to PHP, and your problem is solved. > > Dante