php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53638 command line PHAR
Submitted: 2011-01-02 11:32 UTC Modified: 2011-01-02 11:35 UTC
From: bugzilla33 at gmail dot com Assigned:
Status: Not a bug Package: PHAR related
PHP Version: 5.3.4 OS: Win32
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: bugzilla33 at gmail dot com
New email:
PHP Version: OS:

 

 [2011-01-02 11:32 UTC] bugzilla33 at gmail dot com
Description:
------------
PHARs do not work via 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-02 11:35 UTC] felipe@php.net
-Status: Open +Status: Bogus
 [2011-01-02 11:35 UTC] felipe@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

See http://docs.php.net/manual/en/phar.using.intro.php
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 11:01:31 2025 UTC