#20473 [Com]: Cannot redeclare gc()
| From: | skerdog at hotmail dot com | Date: | Tue, 04 Feb 2003 21:30:54 +0000 |
| Subject: | #20473 [Com]: Cannot redeclare gc() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32117@lists.php.net to get a copy of this message | ||
ID: 20473
Comment by: skerdog@hotmail.com
Reported By: hofmann@isl.org
Status: Closed
Bug Type: Unknown/Other Function
Operating System: Linux
PHP Version: 4.3.0RC1
New Comment:
SURELY someone knows how to fix this annoying error? It was first
reported over 2 months ago and there are no postings on this problem
report showing a resolution. Well?
Previous Comments:
------------------------------------------------------------------------
[2003-01-02 07:42:13] phpbugs@dewet.org
This one also just hit me upgrading from 4.2.3 to 4.3.0 on
Gentoo Linux. Since I cannot seem to find a solution
online, I will try and rename the PHPLIB functions.
------------------------------------------------------------------------
[2002-12-06 21:56:44] craigm@ace.com.au
Has anybody got a solution for this problem. The same thing is
happening to some of our websites. Is there some setting in php.ini
file that can be set to get around this problem.
Thanks,
Craig Marchant
------------------------------------------------------------------------
[2002-11-18 01:56:50] hofmann@isl.org
seems that this is an enhancement of php - because the bug is really in
phplib. sorry.
------------------------------------------------------------------------
[2002-11-18 01:30:18] hofmann@isl.org
Our webserver scripts make heavy use of the phplib.
with php4.3.0rc1 I will get the error
Fatal error: Cannot redeclare gc() in /usr/lib/php/phplib/session.inc
on line 461
thats because phplib defines a function named gc().
with the php4.3.pre1 and earlier versions this problem has not been
apeared - last but not least with the documentation I have not found a
hint about a gc() function within php itself.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20473&edit=1