Click to See Complete Forum and Search --> : php 4.0.3 and Linux error log


Anon
03-26-2001, 09:25 AM
My operating system is Linux 2.2.14, I originally installed php 3.0.15. I then downloaded the rpm for php 4.0.3. I eliminated all of the php 3 lines from httpd.conf and installed appropriately. I am now logging this error (PHP Warning: Function registration failed - duplicate name - define in Unknown on line 0) and the server attempts to download php files, or read the code as ascii.

If anyone has any advice I would greatly appreciate it.

Anon
03-26-2001, 09:27 AM
forgot to include that this is all taking place on Apache 1.3.12 and the error log is Apache's log, not Linux... my bad

brandonschnell
03-26-2001, 03:47 PM
1) its not loading the right php module in apache. make sure its loading the php4 .so & .c module file

2) make sure you've got a line to load the .php files with the php4 module. something like:
AddType application/x-httpd-php .php