hi all
i am trying to run two different versions of php on my windows 2008 r2 server with iis7. phew. haha
my primary one is already setup as 5.3.0 but i also need to run 5.2.x for some legacy app we need.
i installed two directories of php one c:\php\ and c:\php 5.2\ and setup the handler for .php files in IIS to point to the right php-cgi.exe file.
it seems to work (like phpinfo works and shows the correct version) but when i open a command prompt at c:\php 5.2\ and type php -v i get lots of problems with the extensions and mysql for example isn’t loading the modules.
for some reason php 5.2 is wrongly loading the php.ini file for 5.3.0. where is this set? how can i get it to use the php.ini file that is located in c:\php 5.2.x\php.ini file?
Loaded Configuration File C:\\PHP\\php.ini
thanks for any help!