Chaosbreaker 0 Newbie Poster

Hi

I'm relatively new to Unix and after setting up PHP5, I was unable to start the Apache Server. The error below was reported:-

httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1: httpd: fatal: relocation error: file /usr/local/apache2/modules/libphp5.so: symbol xmlTextReaderSetup: referenced symbol not found

I have been reading alot of forum post about relocation error. From what I understood, the problem file is ld.so.1 and the symbol xmlTextReaderSetup could not be found, most likely because the link is incorrect. I did used the ldd command but I have no idea how to even start or even how to find the symbol.

The other thing worth noting is that the server I am working on currently have Apache running with MySQL and PHP 5.2.4 (What I am installing is 5.2.5). All software in this server was installed using source packages so there is no easy way to remove the old PHP. One of the thing I read is that the relocation error is probably cause by multiple similar software installed. But how do I rectify the relocation error if it is really the cause?

Anyone have any tips on how/where do I start to resolve this?

Thanks in advance.