Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Apr 2007 14:52:15 -0500
From:      Kevin Kinsey <kdk@daleco.biz>
To:        Joe Auty <joe@netmusician.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: error loading php5.so
Message-ID:  <4612B06F.3040103@daleco.biz>
In-Reply-To: <4612A380.1050001@netmusician.org>
References:  <46114B22.60703@netmusician.org> <46119572.2000409@daleco.biz> <4612A380.1050001@netmusician.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Joe Auty wrote:
>>> # apachectl start Syntax error on line 273 of
>>> /usr/local/etc/apache2/httpd.conf: Cannot load
>>> /usr/local/libexec/apache2/libphp5.so into server:
>>> /usr/local/libexec/apache2/libphp5.so: Undefined symbol
>>> "__res_ninit"
>>>
>>> This is occurring under FBSD 6.2 running the latest versions of
>>> Apache/PHP
>> Possibly looks as if PHP is unaware of Apache's existence? (or at
>> least it was at time of compile). How did you do the upgrade?
>>
> 
> Just via a simple portupgrade... doing a:
> 
> portupgrade -f php5
> 
> Does not correct this problem (although it does create a new
> libphp5.so). Any further ideas?
 
Well, I'm not absolutely certain of anything.  I'd make sure
that "make config" under /usr/ports/lang/php5 indicated Apache
module was to be built, and do something more like "-rR php5"
instead of "-f".  Did you add new "extensions" to php at the
time of this build, also?

??,

Kevin Kinsey
-- 
I don't have an eating problem.  I eat.
I get fat.  I buy new clothes.  No problem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4612B06F.3040103>