Bug 1117140 - Handle .phar files with php
Handle .phar files with php
Status: NEW
Product: Fedora
Classification: Fedora
Component: php (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Remi Collet
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2014-07-08 02:54 EDT by Christian Weiske
Modified: 2015-03-03 11:06 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Debian BTS 639268 None None None Never

  None (edit)
Description Christian Weiske 2014-07-08 02:54:06 EDT
Description of problem:
.phar (PHP Archive files, similar to .jar) allows one to pack up whole PHP applications in a single file.

When dropping a .phar file into apache's document root, the .phar file does not get handled by php but treated as plain text.

The apache configuration should be changed to let mod_php handle .phar files in addition to .php files.

Steps to Reproduce:
1. Install apache with mod_php
2. Create a .phar file e.g. http://p.cweiske.de/120
3. Open the .phar in your browser

Actual results:
Phar file contents are displayed

Expected results:
phpinfo() output should be shown.
Comment 1 Fedora Admin XMLRPC Client 2014-07-16 08:03:17 EDT
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.
Comment 2 Jaroslav Reznik 2015-03-03 11:06:55 EST
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:

Note You need to log in before you can comment on or make changes to this bug.