ID:               3920
 Comment by:       barryrs at yahoo dot com
 Reported By:      carlos dot dias at emerging-trade dot pt
 Status:           Closed
 Bug Type:         Reproducible Crash
 Operating System: Linux RH
 PHP Version:      4.0 Beta 4 Patch Level 1
 New Comment:

Re: PHP Warning:  Function registration failed - duplicate name

I ran into this same problem while installing Horde, Imp and Pear.
RedHat 9.0 Apache 2.? Here was my solution:

/etc/php.ini (carries the following lines)
;Linux world
;
;extension=imap.so
;extension=ldap.so
;extension=mysql.so
;extension=odbc.so
;extension=pgsql.so
;extension=snmp.so
;extension=dbg.so

/etc/php.d (essentially carries the same lines)

I simply commented out the lines from /etc/php.ini
and restarted the server. No more errors. 

Hope to have helped!


Previous Comments:
------------------------------------------------------------------------

[2000-07-30 12:19:03] [EMAIL PROTECTED]

Please try a recent release of PHP.  If the problem re-occurs, please
submit a new bug report.  Thank you

------------------------------------------------------------------------

[2000-03-24 18:38:44] carlos dot dias at emerging-trade dot pt

Instalation of php4 looks fine with

./configure --with-apxs=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/apache --with-oracle=/oracle/8.1.5
--enable-trans-id --without-gd
--enable-versioning

AFter instalation, the httpd cores on start. the backtrace is:

#0  0x406a867f in sapi_apache_send_headers (sapi_headers=0x4072fd28) at
mod_php4.c:227
#1  0x406824fb in sapi_send_headers () at SAPI.c:340
#2  0x406d58f9 in php_header () at head.c:86
#3  0x406ef6f1 in php_ub_body_write (str=0x406fad4a "", str_length=0)
at output.c:348
#4  0x406ef370 in php_body_write (str=0x406fad4a "", str_length=0) at
output.c:139
#5  0x4067bb75 in php_error (type=32, format=0x40701e00 "Function
registration failed - duplicate name - %s") at main.c:395
#6  0x4069d8eb in zend_register_functions (functions=0x40226cc4,
function_table=0x0) at zend_API.c:766
#7  0x4069d9e0 in zend_register_module (module=0x40227620) at
zend_API.c:808
#8  0x4069d78a in zend_startup_module (module=0x40227620) at
zend_API.c:706
#9  0x4067c2dc in php_startup_extensions (ptr=0x4071a258, count=23) at
main.c:723
#10 0x4067cd1d in php_startup_internal_extensions () at
internal_functions.c:98
#11 0x4067c541 in php_module_startup (sf=0x4071a8c0) at main.c:865
#12 0x406a8798 in php_apache_startup (sapi_module=0x4071a8c0) at
mod_php4.c:266
#13 0x406a9089 in php_init_handler (s=0x80ad0e4, p=0x80ad0bc) at
mod_php4.c:641
#14 0x8056229 in ap_init_modules ()
#15 0x806008d in main ()
#16 0x4007ecb3 in __libc_start_main (main=0x805fd6c <main>, argc=1,
argv=0xbffffc94, init=0x804e884 <_init>, fini=0x8093d6c <_fini>,
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffc8c) at
../sysdeps/generic/libc-start.c:78

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=3920&edit=1

Reply via email to