Req #53639 [NEW]: command line PHAR

From: Date: Sun, 02 Jan 2011 10:58:31 +0000
Subject: Req #53639 [NEW]: command line PHAR
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-157514@lists.php.net to get a copy of this message
From: Operating system: win32 PHP version: 5.3.4 Package: PHAR related Bug Type: Feature/Change Request Bug description:command line PHAR Description: ------------ PHARs do not work via command line See http://docs.php.net/manual/en/phar.using.intro.php No posted anything here on how to run script in PHAR from the command line. Test script: --------------- Run cmd and go to PHP5 folder and try to run any PHAR file: c:\PHP5>php.exe "phar://test.phar/script.php" Could not open input file phar://test.phar/script.php or may: c:\PHP5>php.exe "test.phar/script.php" Could not open input file test.phar/script.php Expected result: ---------------- PHARs works via command line Actual result: -------------- PHARs do not work via command line -- Edit bug report at http://bugs.php.net/bug.php?id=53639&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53639&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53639&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53639&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=53639&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53639&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=53639&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=53639&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=53639&r=needscript Try newer version: http://bugs.php.net/fix.php?id=53639&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=53639&r=support Expected behavior: http://bugs.php.net/fix.php?id=53639&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=53639&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=53639&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=53639&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53639&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=53639&r=dst IIS Stability: http://bugs.php.net/fix.php?id=53639&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=53639&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=53639&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=53639&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=53639&r=mysqlcfg

« previous php.bugs (#157514) next »