I'm trying to use php on the command line like I do perl. It works fine and from the command line. BUt trying to run a cgi script from the browser always give a "No input file specified." CGI using perl works fine.
I have a test1.cgi written in perl and a test2.cgi written in php. both simply output
Content-type: text/html
test
The perl one works from the web browser, the php one gives the no input file specified error.
PHP 4.0.5
Apache 1.3.20
Linux 2.2.18
Any idea?