#30075 [Opn->Fbk]: Cannot redeclare function/class

From: Date: Sun, 28 Nov 2004 14:44:17 +0000
Subject: #30075 [Opn->Fbk]: Cannot redeclare function/class
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-69558@lists.php.net to get a copy of this message
ID: 30075 Updated by: tony2001@php.net Reported By: kj at legalizer dot dk -Status: Open +Status: Feedback Bug Type: Zend Engine 2 problem Operating System: WinXP PHP Version: 5CVS-2004-09-13 (dev) New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip Please supply short but usable reproduce script if you still expirience this problem even with latest CVS snapshot. Previous Comments: ------------------------------------------------------------------------ [2004-09-27 09:37:15] kj at legalizer dot dk The IIS 6.0 problem is on a Windows 2003 server. ------------------------------------------------------------------------ [2004-09-27 09:34:29] kj at legalizer dot dk With PHP 5.0.2 and IIS 6.0 I get the same error (without the crash) even if I turn off ISAPI caching. ------------------------------------------------------------------------ [2004-09-13 16:38:47] kj at legalizer dot dk It looks like I dont get the error if I turn off ISAPI caching. ------------------------------------------------------------------------ [2004-09-13 16:29:09] kj at legalizer dot dk Description: ------------ After installing PHP 5.0.1 (and latest CVS) I get "Cannot redeclare <functionname/classname> (previously declared in <filename>)" errors at random. Then after a few seconds a window pops up with a dllhost.exe error. Saying somthing like "Memory could not be read". And my IIS chrashes. All this do not happen every time i load the page only sometimes. This did not happen in PHP 5.0.0. Im running PHP as ISAPI. Actual result: -------------- Fatal error: Cannot redeclare db_connect() (previously declared in D:\HTDocs\BEC\includes\database.inc.php:8) in D:\HTDocs\BEC\includes\database.inc.php on line 10 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30075&edit=1

« previous php.bugs (#69558) next »