php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29055 not very important, maybe
Submitted: 2004-07-08 03:34 UTC Modified: 2004-07-08 08:11 UTC
From: nallen54 at hotmail dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5.0.0RC3 OS: linux gentoo
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nallen54 at hotmail dot com
New email:
PHP Version: OS:

 

 [2004-07-08 03:34 UTC] nallen54 at hotmail dot com
Description:
------------
When I try to
# php -r file.php

I often get this problem:

Parse error: parse error, unexpected $ in Command line code on line 1

And when i open it in a web browser it tells me that the web browser (which is running as an other user then root, obviously) cant read the file; permission denied.

Expected result:
----------------
it should've tould me that when i runned it from the command line that it couldn't read the file; but since i ran it as root, and that i actually had permission, i dont know how the pieces come together.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-08 08:11 UTC] curt@php.net
See http://www.php.net/support.php for questions like this.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 16:01:33 2025 UTC