php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68639 PHAR archives are downloaded instead of served
Submitted: 2014-12-23 16:20 UTC Modified: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: eldmannen+php at gmail dot com Assigned:
Status: Open Package: Built-in web server
PHP Version: 5.5.20 OS: Ubuntu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: eldmannen+php at gmail dot com
New email:
PHP Version: OS:

 

 [2014-12-23 16:20 UTC] eldmannen+php at gmail dot com
Description:
------------
$ php -S 0.0.0.0:8000
Point browser at http://127.0.0.1/foo.phar

Expected result:
----------------
The PHP app parsed and served.

Actual result:
--------------
The PHAR file offered for download.

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Tue Sep 25 06:01:24 2018 UTC