Bug #53537 [Asn->Fbk]: Phar not working on PHP-FPM
| From: | fat@php.net | Date: | Wed, 16 Nov 2011 00:23:28 +0000 |
| Subject: | Bug #53537 [Asn->Fbk]: Phar not working on PHP-FPM | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-165203@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=53537&edit=1
ID: 53537
Updated by: fat@php.net
Reported by: alexander dot over at koeln dot de
Summary: Phar not working on PHP-FPM
-Status: Assigned
+Status: Feedback
Type: Bug
Package: PHAR related
Operating System: Debian
PHP Version: 5.3.4
Assigned To: fat
Block user comment: N
Private report: N
New Comment:
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
I made a test on the 5.3 branch and it works great.
The only thing it that .phar extensions were not authorized as default acception
extension by FPM.
I fixed it. See http://svn.php.net/viewvc?view=revision&revision=319287
Can you please test on a snapshot ?
Previous Comments:
------------------------------------------------------------------------
[2011-11-15 23:35:43] felipe@php.net
Jérôme, can you check it?
------------------------------------------------------------------------
[2010-12-13 14:04:17] alexander dot over at koeln dot de
Description:
------------
When try to run a .phar on PHP running as FPM, i got an endless redirect loop.
Test script:
---------------
<?php
$p = new Phar('test.phar');
$p->setStub($p->createDefaultStub('stub.php', 'index.php'));
$p->addFromString('index.php', '<?php phpinfo();');
header('Location: test.phar');
Expected result:
----------------
output from phpinfo();
Actual result:
--------------
redirection loop (301)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=53537&edit=1