faqts : Computers : Programming : Languages : PHP : Installation and Setup : Web Servers : Apache

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

33 of 48 people (69%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

PHP4 on Apache1.3.9 used DOS method. Stopped/Started server, httpd starts/crashes. PHP Warning:Function registration failed -duplicate name. thoughts?

Dec 20th, 2001 18:59
Steve Smith, Alex Macklen, james dempsey,


1. Most likely, you have upgraded or recompiled PHP, and there are 
dynamic extensions being loaded that are duplicating compiled-in 
functions in PHP. Check the 'extension=' lines in your php.ini file, 
and have a look in whatever directory is named on your 'extension-dir' 
line.

2. This could be because php3 is still being loaded in the httpd.conf.  
There are two ways of dealing with this.  The first is to remove the 
php3 module.

Find the lines
  LoadModule php3_module
and
  AddModule  mod_php3.c

and comment them out.  

Alternatively follow the instructions on having both php3 and php4 
installed at the same time.