Click to See Complete Forum and Search --> : MULTIPLE PHP.INIs?


Anon
06-30-2002, 02:41 PM
Hi!

I have the Win2000-IIS with Virtual Hosts. Now I want that each Host has its own php.ini when he calls the php.exe!

I tried this Command: C:\php\php.exe -c "C:\php-inis\first.ini" -f %s

I know that this is possible, but I don't know how!!

Who can help me?

kinglouie
07-01-2002, 08:21 PM
Hi,

we tried telling PHP.EXE which php.ini-file to use. All tries failed. IIS seems not to give the necessary parameters to PHP, so the one in system32 is used always.
If you found a way to manage it, please let me know.
Good luck and best regards,


King Louie

Anon
07-02-2002, 03:03 AM
I didn't find a way to manage it, so I will install the Apache, because with Apache you can do it.