Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24094 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5060 invoked by uid 1010); 12 Jun 2006 13:14:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 5044 invoked from network); 12 Jun 2006 13:14:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jun 2006 13:14:07 -0000 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 66.249.92.172 ug-out-1314.google.com Linux 2.4/2.6 Received: from ([66.249.92.172:8848] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C4/2B-00253-E986D844 for ; Mon, 12 Jun 2006 09:14:06 -0400 Received: by ug-out-1314.google.com with SMTP id m2so2301880ugc for ; Mon, 12 Jun 2006 06:14:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Oh08cEuvY3GnmZbbhFTXTXnPC7kVv++wyyBrKVgZDSPmumW1+ltskiIlnuNXKesnzFBmkXOLV2G9n0Ujn2jLyB4ziQ4GOj7Plotfd41FJTYNmI5eeelRfoD1v17/8FCD6z792uJ5d2ZEAcwTPTYja2o+9LOytS+ihLlvmUtrGa8= Received: by 10.78.39.16 with SMTP id m16mr39634hum; Mon, 12 Jun 2006 06:14:02 -0700 (PDT) Received: by 10.78.47.11 with HTTP; Mon, 12 Jun 2006 06:14:02 -0700 (PDT) Message-ID: <10845a340606120614t6059fc24wa7bc2af74572cc11@mail.gmail.com> Date: Mon, 12 Jun 2006 14:14:02 +0100 Reply-To: RQuadling@GoogleMail.com To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Extending SAPI specific php.ini to include, at least, major version. From: rquadling@googlemail.com ("Richard Quadling") Hi. The ability to create a SAPI specific php.ini file (php-cli.ini, php-isapi.ini, etc) for PHP5 is excellent. This allows me to run PHP4 as CGI and PHP5 as ISAPI on the same webserver (I use Sambar Server). Now that I'm starting to look at PHP6, I would like to run PHP4, PHP5 AND PHP6 on the same web server (yes - I'm a greedy glutton). 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. If php_ini.c (/* $Id: php_ini.c,v 1.142 2006/03/08 14:41:45 iliaa Exp $ */) Lines 431 to 440 could be extended to include the major version number, then we could have php5-cli.ini, php5-isapi.ini php6-cli.ini, php6-isapi.ini My next issue would relate to how the webserver picks up the DLLs and gets them into usage. Is it just on the internal function names? If so, I think I'll have an issue here too if the names are the same - and I can initially see no reason why they won't be the same. Kind regards, Richard Quadling. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731