|
Home > Archive > Apache Server configuration support > May 2006 > libphp5.so: Cannot load specified object
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
libphp5.so: Cannot load specified object
|
|
| junkmail@abbotts.org 2006-05-20, 1:15 pm |
| I have a new openbsd box running on PPC. I built httpd 2.0.58, and php
5.1 from source and it was all running great. I had not rebooted the
box. So, since everything seemed to be working, I shipped it off to my
ISP where it is going to be co-lo. When the box first came up, I now
get the message:
# /usr/local/apache2/bin/apachectl start
Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server: Cannot
load specified object
libphp5.so is in /usr/local/apache2/modules/ and it's MD5 matches the
one I built that is sitting in /usr/src.
I can't really figure out what changed. Granted, I had not rebooted
the box but it seemed to me like everything was working just fine. So
where do I go from here? Is there some sort of PATH or library loading
problem that got tweeked in the install but re-set in the boot?
If you want to respond to me directly or ask questions, I am
jNOSPAMabbott at abbotts dot org.
Thanks!
| |
| Davide Bianchi 2006-05-20, 1:15 pm |
| On 2006-05-20, junkmail@abbotts.org <junkmail@abbotts.org> wrote:
> I can't really figure out what changed. Granted, I had not rebooted
> the box but it seemed to me like everything was working just fine. So
> where do I go from here? Is there some sort of PATH or library loading
> problem that got tweeked in the install but re-set in the boot?
Not sure of BSD, but dynamically loaded libraries are searched in
ld.so.conf and the path is mantained using ldconfig. So a check of that
and maybe adding /usr/local/lib and re-run ldconfig should do it.
Other than that, I can only think that something got screwed during the
shipment. If you still have shell access to the machine, try re-compiling
php.
Davide
--
Windows Tip of the Day:
Add DEVICE=FNGRCROS.SYS to your CONFIG.SYS file.
| |
| rainbird 2006-05-22, 1:16 pm |
| My problem somehow seems to involve mysql. I recompiled PHP,
forgetting to add --with-mysql=/usr/local/mysql and when I started php
it loaded up just fine. But of course my applications didn't work too
well. So I configured it again with mysql added, compiled and
installed it, and now I am right back to the same problem again. Any
ideas?
|
|
|
|
|