problem: "no input files specified" when calling php-script
| From: | Dan | Date: | Mon, 11 Oct 2004 16:00:20 +0000 |
| Subject: | problem: "no input files specified" when calling php-script | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-14497@lists.php.net to get a copy of this message | ||
I always get the message: "no input files specified" when I call a
php-script in my browser. I added "#!user/local/bin/php" at the first line
of each script. Otherwise I get another error message: 502BadGateway. The
php-scripts are executable for all users. When I call them from shell (e.g.
./test.php), they work fine.
Do you know what's wrong? The webserver is a boa (I added in boa.conf:
AddType apllication/x-httpd-cgi php). I tried php 4.39 and 5.0.1.
Thanks in advance,
Dan