Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16162 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58572 invoked by uid 1010); 4 May 2005 13:20:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57433 invoked from network); 4 May 2005 13:20:01 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 4 May 2005 13:20:01 -0000 X-Host-Fingerprint: 212.125.75.73 smtp-4.star.net.uk Linux 2.4/2.6 Received: from ([212.125.75.73:41568] helo=smtp-4.star.net.uk) by pb1.pair.com (ecelerity 1.2.12rc1 r(5476:5477)) with SMTP id 52/F7-63756-2CBC8724 for ; Wed, 04 May 2005 09:18:59 -0400 Received: (qmail 12277 invoked from network); 4 May 2005 13:18:39 -0000 Received: from unknown (HELO notesserver1.d-h.co.uk) (62.173.112.2) by smtp-4.star.net.uk with SMTP; 4 May 2005 13:18:39 -0000 To: Herbert Grunwald Cc: internals@lists.php.net X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Message-ID: Date: Wed, 4 May 2005 14:24:05 +0100 X-MIMETrack: Serialize by Router on Notesserver1/SVR/D-H(Release 5.0.12 |February 13, 2003) at 04/05/2005 14:24:16 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Subject: Re: [PHP-DEV] php.ini From: rblack@datavisibility.co.uk ("Richard Black") If you install PHP as a CGI exe rather than as a server module, you can pick up a php.ini file from the same folder as the script you wish to run. HTH, Richard ========================================== Richard Black Senior Developer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 951 8008 Email: rblack@datavisibility.co.uk Herbert Grunwald cc: Subject: [PHP-DEV] php.ini 04/05/2005 11:15 Please respond to Herbert Grunwald I'm running both PHP4 and PHP5 in two different virtual directories in IIS. (That means that different virtual dirs use different ISAPI .dll-s for .php files.) Everything works fine, except php.ini -- it is obvious that I can't use a shared php.ini. But there seems to be no way of specifying different .ini-s for the separate ISAPI dll-s. The .ini that lies in the same dir as the .dll **won't be used**. Currently I'm running with the defaults, with no .ini specified :( Please consider adding the .dll load path to the .ini search path (I doubt if it's possible) or propose something to overcome the problem (PHP4RC and PHP5RC instead of PHPRC would do the trick, but a generic solution should be preferred as people may want to run PHP4 with different configurations in a single IIS also). -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php