Bug #3107: No input file specified.
| From: | ian at dominios dot net | Date: | Wed, 05 Jan 2000 13:45:09 +0000 |
| Subject: | Bug #3107: No input file specified. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14280@lists.php.net to get a copy of this message | ||
From: ian@dominios.net
Operating system: Solaris 2.6
PHP version: 3.0.13
PHP Bug Type: Parser error
Bug description: No input file specified.
I compiled PHP4 beta 3 with:
./configure --without-gd --with-ftp --with-mysql=/usr/local/mysql --with-dbase --enable-sysvsem
--enable-sysvshm --disable-debug --enable-track-vars --enable-magic-quotes --enable-discard-path
and placed it in /usr/local/bin/php4
I have a script hello.cgi
#!/usr/local/bin/php4
<?php
echo "hello";
?>
which if I execute from the web, I get an error 'No input file specified'
However if I execute it with
/usr/local/bin/php4 hello.cgi
then it works fine.
thanks for your help
Ian Webber