[PHP-DEV] Bug #603: CGI on WIN95 not working From: Martin.Krieger <email protected>
Date: 07/31/98

From: Martin.Krieger <email protected>
Operating system: Win95
PHP version: 3.0.1
PHP Bug Type: Installation problem
Bug description:
The Manual says:
M> You can access php scripts simply by putting the php.exe
M> file into your scripts directory and using a url such
M> as: http://my.server/scripts/php.exe/page.php

With MS Personal Web Server on Win95 this does not work. Whatever I type for
'page.php' I always get a "No input file specified" message from PHP (3.01).
The method with the entries in the registry works, but I also want to try it
this way (for universal usage on all servers).

Another excerpt from the manual
M> The query information in an url after the question mark
M> (?) is passed as command line arguments to the
M> interpreter by the CGI interface. Usually interpreters
M> open and execute the file specified as the first
M> argument on the command line.
M>
M> When invoked as a CGI binary, PHP refuses to interpret
M> the command line arguments

As opposit to this statement a
http://localhost/Scripts/php.exe?/autoexec.bat 'works' on my machine. Bug or
feature?

Greetings from Cologne, Germany

  Martin