Edit report at https://bugs.php.net/bug.php?id=53537&edit=1

 ID:                 53537
 Updated by:         [email protected]
 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

Reply via email to