I installed PHP as a CGI and used the php.exe that unpacked from the zip file located in the PHP root folder, i.e. c:/php/php.exe
Here is the output from php_sapi_name
>>>>> sapi_type is cgi-fcgi <<<<<<<
I definitely left the command line (cli) exe in the cli sud directory located at C:/php/cli
Any other ideas as I still have this problem.
Thanks.