#28143 [NEW]: CLI/CGI won't parse input files
| From: | leslie at britbus dot org | Date: | Sun, 25 Apr 2004 11:55:12 +0000 |
| Subject: | #28143 [NEW]: CLI/CGI won't parse input files | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-58722@lists.php.net to get a copy of this message | ||
From: leslie at britbus dot org
Operating system: Windows Server 2003
PHP version: 5.0.0RC1
PHP Bug Type: CGI related
Bug description: CLI/CGI won't parse input files
Description:
------------
When I try running scripts from the commandline, they never actually seem
to get parsed. example test.php:
<?php
phpinfo();
?>
If I try calling it with:
\php\php.exe test.php
I get no output at all. If I call it with the CGI app instead:
\php\php-cgi.exe
I get this output:
Content-type: text/html; charset=utf-8
X-Powered-By: PHP/5.0.0RC1
But it still doesn't seem to be parsing the file. All the other
commandline options work, like -h, and I can run code from the commandline
with the -r switch, but it won't parse the input file I specify. I had the
same problem with php4.3.6, so I thought I'd try 5.0RC1 to see if it was
fixed yet.
--
Edit bug report at http://bugs.php.net/?id=28143&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28143&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28143&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28143&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28143&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28143&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28143&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28143&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28143&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28143&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28143&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28143&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28143&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28143&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28143&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28143&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28143&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28143&r=float