| | |
Relocation Error
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: May 2008
Posts: 3
Reputation:
Solved Threads: 0
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.
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.
![]() |
Similar Threads
- help me plz (Getting Started and Choosing a Distro)
- Please help! DLL relocation problem (Windows NT / 2000 / XP)
- DLL user32.dll was relocated (Windows NT / 2000 / XP)
- Application Errors (Windows Software)
- April 3, 2007 Security Update For Windows Xp (Windows NT / 2000 / XP)
- boot problem (Windows NT / 2000 / XP)
Other Threads in the PHP Forum
- Previous Thread: how to explode records?
- Next Thread: how to use php with java script
| Thread Tools | Search this Thread |
ajax apache api array basic beginner binary body broken cakephp checkbox class cms code cookies cron curl database date date/time display dynamic ebooks echo email error file files folder form forms function functions google href htaccess html image include insert interactive ip javascript job joomla js limit link login mail mediawiki menu mlm msqli_multi_query multiple mycodeisbad mysql navigation oop outofmemmory paging parse paypal pdf php procedure query radio ram random recursion regex remote return script search server sessions source space sql stored subdomain syntax system table tutorial unicode update upload url validation validator variable video web webapplications websitecontactform xml youtube





