IIS fastCgi applications settings on monitorChangesTo , phprc

PHPRC variable just denotes location of php.ini ; as in fastCgi/application section, you can't rely on PHPRC to be the default folder of all path settings ;

eg : if PHPRC = D:\phpCustom , then monitorChangesTo="php.ini" won't monitor "D:\phpCustom\php.ini" , actually just assigning "php.ini" is like assigning a relative path; in such case there is a conclusion:

If a relative file path is specified instead of an absolute path then FastCGI will assume that it is relative to the location of php-cgi.exe file.

So the best way is assigning absolute path as monitorChangesTo="D:\phpCustom\php.ini"

No Comments