From: ict at primus dot ca
Operating system: W2K
PHP version: 4.3.3
PHP Bug Type: *Configuration Issues
Bug description: php4isapi.dll path to win.ini doesn't load from current path.

Description:
------------
When using php4isapi.dll in IIS the php.ini path can't be specified.

Details:
OS Windows 2K
Version PHP 4.3.3 ( complied VC++ V6.0 )
WServer IIS 4.X
Running each .DLL in seperate memory space.

Now this may be more of an issue, for us big server people.



Reproduce code:
---------------
Problem Outline:
using: C:/client1/php4isapi.dll for /client1/web/index.php
using: C:/client2/php4isapi.dll for /client2/web/index.php
etc ...
They both use C:\winnt\php.ini

Expected result:
----------------
Should use:
using: C:/client1/php4isapi.dll for /client1/web/index.php
Useing C:/client1/php.ini
using: C:/client2/php4isapi.dll for /client2/web/index.php
Useing C:/client2/php.ini
etc...



Actual result:
--------------
Does use:
using: C:/client1/php4isapi.dll for /client1/web/index.php
Useing C:/winnt/php.ini
using: C:/client2/php4isapi.dll for /client2/web/index.php
Useing C:/winnt/php.ini
etc...


I've serched the net and your site, no luck in finding a way of running
serveral copy of the 'php.ini'. I run the sites now with NO .INI and it
works great!

With no security in place :(

Please take your time on this one. I might be a simple re-complile or a
complex solution. THX again!

From:
Deek Starr

--
Edit bug report at [url]http://bugs.php.net/?id=25444&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=25444&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=25444&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=25444&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=25444&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=25444&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=25444&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=25444&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=25444&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=25444&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=25444&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=25444&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=25444&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=25444&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=25444&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=25444&r=gnused[/url]