faqts : Computers : Programming : Languages : PHP : Installation and Setup : Modules

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

36 of 43 people (84%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

How do I fix "Function registration failed - duplicate name" errors?

Aug 29th, 2002 12:27
Tyler Bannister, Yasuo Ohgaki from PHP-General


One possible cause is that you have statically linked the module into
the php binary but you are also dynamically including an extension for
the module as well.

There are two possible solution to this problem:

1) Compile php with the module as a dynamic extension.
See "Compiling php with dynamic extensions".

2) Stop loading the module dynamically.
Open your php.ini file (phpinfo() will provide it's location), locate
the offending "extension=<modulename>.so" line and comment it out with a
";".  Then restart the Web server.