|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43122 fatal error on a strange causes
Submitted: 2007-10-29 04:29 UTC Modified: 2007-10-29 14:30 UTC
From: gabri dot ns at googlemail dot com Assigned:
Status: Not a bug Package: IIS related
PHP Version: 5.2.4 OS: Windows 98/XP
Private report: No CVE-ID: None
 [2007-10-29 04:29 UTC] gabri dot ns at googlemail dot com
Actually it isn't an IIS error, but ISAPI related.
I'm using Abyss Web Server 2.x and PHP 5.2.x on ISAPI interface.
This error doesn't exist when using CGI.

Don't ask me to change the interface to CGI.
I have tried it, but since I using low memory computer
it can't be done.

Thank's before.

Reproduce code:

function redirect($page = 'page')
	header('Location: '.$_SERVER['PHP_SELF']);


Expected result:
infinite loop of redirecting

Actual result:
Fatal error: Cannot redeclare redirect() (previously declared in G:\Gbr\AbyssWS\htdocs\crash.php:3) in G:\Gbr\AbyssWS\htdocs\crash.php on line 3


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-29 14:30 UTC]
We are aware of PHP's problems with stability under IIS and are working 
to rectify the problem. Unfortunatly your bug report does not contain any
extra useful information and we already have enough bug reports open about
this issue. If you can provide more detailed information such as a 
reproducable crash or a backtrace please do so and reopen this bug. 
Otherwise please keep trying new releases as we are working to resolve 
the problems on this platform
Thanks for your interest in PHP.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 14 16:01:28 2024 UTC