From:             nallen54 at hotmail dot com
Operating system: linux gentoo
PHP version:      5.0.0RC3
PHP Bug Type:     Scripting Engine problem
Bug description:  not very important, maybe

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.


-- 
Edit bug report at http://bugs.php.net/?id=29055&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29055&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29055&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29055&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29055&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29055&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29055&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29055&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29055&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29055&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29055&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29055&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29055&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29055&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29055&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29055&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29055&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29055&r=float

Reply via email to