php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25444 php4isapi.dll path to win.ini doesn't load from current path.
Submitted: 2003-09-08 23:34 UTC Modified: 2003-09-09 11:11 UTC
From: ict at primus dot ca Assigned:
Status: Not a bug Package: IIS related
PHP Version: 4.3.3 OS: W2K
Private report: No CVE-ID: None
 [2003-09-08 23:34 UTC] ict at primus dot ca
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-09 09:40 UTC] sniper@php.net
Remove the php.ini from C:\winnt
 [2003-09-09 10:27 UTC] ict at primus dot ca
Perhaps your just jumpy but:

I have to test that the php4isapi.dll will not load the local php.ini when there is no C:\winnt\


Try Try again.
 [2003-09-09 10:29 UTC] ict at primus dot ca
Should have read: No C:\winnt\php.ini,
 [2003-09-09 11:10 UTC] sniper@php.net
It's looked in the path first where php4ts.dll is.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 05:01:30 2024 UTC