Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: unable to load PHP module - relocation error - apache 2.0.55 |
|
Author |
|
wzaccone
Joined: 04 Dec 2006 Posts: 1 Location: new jersey usa
|
Posted: Mon 04 Dec '06 19:59 Post subject: unable to load PHP module - relocation error - apache 2.0.55 |
|
|
I am running PHP 5.1.6 on Solaris 9 using Apache 2.0.55
was using Apache 2.0.55 and libphp5.so successful until we recently upgraded a system to Solaris 9. Now we get this error when we do apachectl configtest. I am lost on this one, and need to be pointed in the correct direction to solve it. any help is appreciated. thanks.
$ apachectl configtest
Syntax error on line 234 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/modules/libphp5.so into server: ld.so.1: httpd: fatal: relocation error: file /usr/local/apache/modules/libphp5.so: symbol apr_pool_cleanup_null: referenced symbol not found |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 04 Dec '06 20:27 Post subject: |
|
|
Seems that your update updated Apache runtime (apr). Sure that it is still version 2.0.55 of apache? I am not into Solaris, but you should compile PHP against the new apache runtime. In the configure script you can like it with the new runtime
Code: |
./configure --with-apxs2=/usr/local/apache/bin/apxs
|
This a taken from Linux, not sure about that pathes in Solaris.
If you don't know how to compile that, you should ask Sun for support or in the sun forum.
A good help how to compile PHP with Apache can be found here |
|
Back to top |
|
|
|
|
|
|