Bug #53537 [NEW]: Phar not working on PHP-FPM

From: Date: Mon, 13 Dec 2010 13:04:17 +0000
Subject: Bug #53537 [NEW]: Phar not working on PHP-FPM
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-156962@lists.php.net to get a copy of this message
From: Operating system: Debian PHP version: 5.3.4 Package: PHAR related Bug Type: Bug Bug description:Phar not working on PHP-FPM 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 bug report at http://bugs.php.net/bug.php?id=53537&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53537&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53537&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53537&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=53537&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53537&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=53537&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=53537&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=53537&r=needscript Try newer version: http://bugs.php.net/fix.php?id=53537&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=53537&r=support Expected behavior: http://bugs.php.net/fix.php?id=53537&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=53537&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=53537&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=53537&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53537&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=53537&r=dst IIS Stability: http://bugs.php.net/fix.php?id=53537&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=53537&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=53537&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=53537&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=53537&r=mysqlcfg

« previous php.bugs (#156962) next »