Hello All, I can't seem to get the CGI version of PHP running. Which server API should I be using with IIS? CGI, FastCGI or ISAPI?
Below is my installation history (I'm running 2 versions on the same machine) ________________________________________________________________ A while back I installed version 4.3.2 using the 'PHP EasyWindows Installer'. (Which installs it with the CGI/FastCGI server API, it seems.) I opted to install it under C:/Program Files/php4 Recently I wanted to run version 5 (RC1) as well, so I did the following: I moved my original php.ini from C:/WINNT to the php4 installation directory mentioned above. I then created a php5 directory, and unpacked php5 (RC1) into it. I renamed the php-recommended.ini file, and edited some of the necessary settings (cgi.force_redirect = 0, fastcgi.impersonate = 1) I created a virtual directory, 'php5', and changed the .php application mapping to point to: 'C:\PROGRA~1\php5\php.exe'. When I opened: localhost/php5/php_info.php in my browser, it just timed out after a while. I then changed the mapping to: 'C:\PROGRA~1\php5\php5isapi.dll', and it worked straight away. I can now run phpinfo() in both versions 4 and 5. Version 4 is in CGI/FastCGI mode, and version 5 is in ISAPI mode. My questions: 1. Why can't v5 work with php.exe (CGI) ? 2. Is it possible to have them both using FastCGI? 3. Which mode should they be running on? TIA. D.