Bug #53537 [Fbk->Asn]: Phar not working on PHP-FPM
| From: | alexander dot over at koeln dot de | Date: | Wed, 16 Nov 2011 09:44:18 +0000 |
| Subject: | Bug #53537 [Fbk->Asn]: Phar not working on PHP-FPM | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-165219@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
User updated by: alexander dot over at koeln dot de
Reported by: alexander dot over at koeln dot de
Summary: Phar not working on PHP-FPM
-Status: Feedback
+Status: Assigned
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:
I've done some tests now.
i can't reproduce the bug in every 5.3 version when using nginx as webserver.
It seems that only lighttpd fastcgi implementation is the problem here.
Previous Comments:
------------------------------------------------------------------------
[2011-11-16 00:23:27] fat@php.net
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 ?
------------------------------------------------------------------------
[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