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
 [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

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 14:01:29 2024 UTC