ID: 20473 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Unknown/Other Function Operating System: Linux PHP Version: 4.3.0RC1 New Comment:
I found it to be an old line in my php.ini: auto_prepend = /usr/local/apache/php/prepend.php3 Update your php.ini and you'll see it goes away again. Edwin, bitten by this problem too :-) Previous Comments: ------------------------------------------------------------------------ [2003-02-04 15:30:53] [EMAIL PROTECTED] 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? ------------------------------------------------------------------------ [2003-01-02 07:42:13] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] seems that this is an enhancement of php - because the bug is really in phplib. sorry. ------------------------------------------------------------------------ [2002-11-18 01:30:18] [EMAIL PROTECTED] 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