User957932771 posted
PHP 5.2.6
It looks like a Fast CGI process does not change the working directory per request basis. If the initial request served by a process was in:
C:\Websites\Site1\index.php
And then it is handed another file from a second Website:
C:\Websites\Site2\index.php
The file in Site2 is executed keeping C:\Websites\Site1 as the working directory. Most php applications fail as the relative paths used in them do not resolve correctly.
After a Fast CGI process is launched, all subsequent requests are processed with the initial start-up folder as the working folder.
The include directives in the php files fail, rendering FastCGI handler unusable.
Is there any way to set the working folder per request basis?
Thanks.