From:             [EMAIL PROTECTED]
Operating system: HP-UX 11
PHP version:      4.0.4pl1
PHP Bug Type:     Scripting Engine problem
Bug description:  "no input file specified" when running as a CGI

I am running PHP4 4.0.4pl1 on HP-UX11 (64 bit) and
Apache 1.3.11. I compiled PHP4 with gcc and did not
specify any options except --with-mysql.

When I try to execute simple scripts like:
#!/opt/php4/php -q
echo "foobar";

I always get "No input file specified." If I leave out
the option -q my scripts work, but I always get
as a first line "#!/opt/php4/php" which prevents me
from using cookies :-(

It is hardly possible to compile PHP on HP-UX, so I
cannot (and do not want to) use PHP as an Apache module.
I would be extremely happy to use PHP via CGI, but I am
still running into this annoying bug which should be
fixed long ago. At least the usenet is full of descriptions
"No input file specified" when using PHP via CGI and
I never encountered a solution. I have got it running
on Apache and Windows 2000 without problems (since there
was no need to compile anything :-), but this is
not a suitable webserver.

Cheers,

Mark


-- 
Edit Bug report at: http://bugs.php.net/?id=10485&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to