I'm trying to setup a website to use a different php.ini from the default that most websites use on the server. I can go to Internet Service Manager, SERVERNAME, FastCGI Settings, click Add Application, I use
Full Path : c:\php\php-cgi.exe
Arguments : -cd:\website2\
This is telling php-cgi to find the ini file in d:\websites2
The problem I'm having is I then go to the website, go to mappings, add the ModuleMapping of FastCGIModule but how do I tell it to use the unique configuration I gave it above?
Only idea I can come up with is to copy php-cgi.exe to a unique folder or name it something else like php-website2.exe, but then I would have to remember to update that file each time I updated php to the latest version unless I used mklink to create a symbolic link.
Is that the only way to differentiate the mappings between the website and the applicationhost.config fastcgi mappings, thru using a unique filename or path?