Bug #53537 [Opn->Asn]: Phar not working on PHP-FPM
| From: | felipe@php.net | Date: | Tue, 15 Nov 2011 23:35:43 +0000 |
| Subject: | Bug #53537 [Opn->Asn]: Phar not working on PHP-FPM | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-165200@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: felipe@php.net
Reported by: alexander dot over at koeln dot de
Summary: Phar not working on PHP-FPM
-Status: Open
+Status: Assigned
Type: Bug
Package: PHAR related
Operating System: Debian
PHP Version: 5.3.4
-Assigned To:
+Assigned To: fat
Block user comment: N
Private report: N
New Comment:
Jérôme, can you check it?
Previous Comments:
------------------------------------------------------------------------
[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