Hi,
 
I am having a small problem with PHP/Windows.
 
[config]
Windows 2000 Server
IIS 5
PHP 4.0.6
 
I have a server with a php.ini in the c:\winnt directory and a site
running fine with that configuration.
 
I need to set up a new site, using a different php.ini. The new site is
set up in IIS but I cannot find a way to make PHP look to a different
php.ini other than the one in c:\winnt.
 
I have tried using the -c command line option in the app mappings
section but to no avail. Here is what I have in the executable text box:
C:\Inetpub\php\php.exe -c z:\Dir\With\Other\IniFile %s %s
 
PHP pages execute fine but a page with phpinfo() shows that php is still
reading the file from c:\winnt\php.ini
 
Any ideas?
 
Thanks in advance,
Patrick.


Reply via email to