php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28143 CLI/CGI won't parse input files
Submitted: 2004-04-25 13:55 UTC Modified: 2004-04-25 14:12 UTC
From: leslie at britbus dot org Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 5.0.0RC1 OS: Windows Server 2003
Private report: No CVE-ID: None
 [2004-04-25 13:55 UTC] leslie at britbus dot org
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-25 14:12 UTC] wez@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Works just fine under w2k3.
You most likely have startup errors turned off and are
missing an important error message, or have something
broken in your code.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 22:01:33 2024 UTC