Req #53639 [Asn->Opn]: command line PHAR

From: Date: Tue, 24 Oct 2017 06:54:39 +0000
Subject: Req #53639 [Asn->Opn]: command line PHAR
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212030@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=53639&edit=1 ID: 53639 Updated by: kalle@php.net Reported by: bugzilla33 at gmail dot com Summary: command line PHAR -Status: Assigned +Status: Open Type: Feature/Change Request Package: CGI/CLI related Operating System: win32 PHP Version: 5.3.4 -Assigned To: johannes +Assigned To: Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2011-01-02 22:47:41] johannes@php.net Might be interesting for CLI to support streams, not only phar. As a work-around you should beable to do php -r 'include("phar://...");' ------------------------------------------------------------------------ [2011-01-02 11:58:30] bugzilla33 at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=53639&edit=1

« previous php.bugs (#212030) next »