No input file specified
| From: | Dave Hartburn | Date: | Mon, 09 Jun 2003 09:53:18 +0000 |
| Subject: | No input file specified | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-150730@lists.php.net to get a copy of this message | ||
I'm running a couple of php scripts from the cgi-bin directory on
Slackware linux 8.1, under apache 1.3.20. The most simple example of a
script is:
#!/usr/local/pkg/php4.3-withsnmp/bin/php
<?php
printf("Bob\n");
?>
If I install php-4.3.0, this will run fine, however compiling php-4.3.2
with the same options:
./configure --with-mysql --with-gd --with-zlib --with-snmp=/usr/local/pkg/net-snmp-5.0.8
--prefix=/usr/local/pkg/php4.3-withsnmp
Gives the error 'No input file specified', in the browser window. This is
not browser specific:
pc055$ telnet conc1 80
Trying 144.32.40.21...
Connected to conc1.
Escape character is '^]'.
GET /cgi-bin/testphp
No input file specified.
Connection closed by foreign host.
The script will run from the command line without a problem:
davidh@conc1:$ ./testphp
Content-type: text/html
X-Powered-By: PHP/4.3.2
Bob
Any ideas what could be going wrong, or further debugging suggestions?
I'm assuming it is not the web server install, as it works fine with
4.3.0. I need version 4.3.2, due to the snmpset bug in earlier versions.
Thanks for any advice
Dave Hartburn