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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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: Sun Nov 19 01:31:42 2017 UTC