Hi All,

Sorry about the cross post but I suppose it applies in both areas.

I raised a few questions about getting an alternate php.ini recognised
when multiple php installs are on a windows 2000 server with no real
solution so far. I noticed 4.3.0 claims to have support for the
"-c /path/to/php.ini" which should allow the cgi version to use an
alternate php.ini file but it does not work under IIS5 and neither
does 4.2.3

I propose that the initial location php.exe should look for a php.ini
file is in the directory from which it executes. This would overcome
any issues with individual web servers on a win32 platform and allow
multiple configs/multiple copies of php to be executed without
trickery like the "-c /path/to/php.ini" which doesn't work.

I could then run a d:\client1\phpbin and e:\client2\phpbin without
any additional support required by the webserver. The size of php
is tiny and would not be an impost to run multiple copies. This system
would allow multiple version to run if required by simply changing the
cirtual directory structure in IIS5.

To keep the present 'default' behavior just make sure you don't
keep a php.ini in the executable directory and it should then run off
and look in c:\winnt like it does at present.

Anyone see a downside to this proposition?

Regards

..Petar


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to