need help with apache22 and libphp5.so
Jeremy Johnston
jeremy at stormy.smart-serv.net
Tue Jun 8 05:42:27 UTC 2010
On 06/07/10 19:58, Gary Kline wrote:
> On Mon, Jun 07, 2010 at 06:21:11PM -0700, Gary Kline wrote:
>
>> i'v been having trouble upgrading stuff for the past n weeks. i
>> just noticed that my web server won't build. or/when it does, it
>> won't start. i just fired off /usr/local/sbin/apachetl -k start
>> and get:
>>
>>
>>
>> httpd: Syntax error on line 104 of
>> /usr/local/etc/apache22/httpd.conf: Cannot load
>> /usr/local/libexec/apache22/libphp5.so into server: Cannot open
>> "/usr/local/libexec/apache22/libphp5.so"
>>
>> When i try to locate this file, i find it in apache/libphp5.so:
>>
>>
>> root at ethic:/usr/local/sbin# locate php5.so
>> /usr/local/libexec/apache/libphp5.so
>>
>> Can anybody explain the recent changes? i did read UPDATING, but
>> didn't get that much out of it...
>>
>>
> {*********************}
>
>
> guys, i understand that it is 'improper' to reply to one's
> own post, esp'ly the first reply, but i have discovered more
> of what is ggoing on.
>
> First, i tried to start apache22 with the script in
> /usr/local/etc/rc.d; same outcome, just same results are
> starting the binary directly. nonetheless, i edited the
> httpd.conf in /usr/local/etc/apache22. i corrected the
> libphp.so directory to read 'apache' rather than 'apache22'.
>
> so the library is presumably loaded, then something else is
> missing. i cannot find "ap_user_id"; neither locate nor a
> recursive grep finds this string.
>
> when i exec the /usr/local/etc/rc.d/apache22 with 'configtest'
> as an arg i get this:
>
>
> Performing sanity check on apache22 configuration:
> httpd: Syntax error on line 104 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache/libphp5.so into server: /usr/local/libexec/apache/libphp5.so: Undefined symbol "ap_user_id"
> root at ethic:/usr/local/etc/rc.d#
>
>
> question number one, which port builds the apache php5
> library? number two; is there one that will resolve the
> missing 'ap_user_id'?
>
> several months ago i built a friend's website; he is is
> contruction which is hurting; i figured having a website
> might give him an edge. no .. this was gratis. not dime,
> dollar, nor favor is involved. i would like to get apache up
> for myself and my friend. gotta say that this port wasn't
> handled very well in /usr/ports/UPDATING. OR, too, i may be
> the idiot de jour. i only care that my webserver gets up
> again, so thanks for any clues!
>
> gary
>
>
>
>>
>>
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>>
>
the lang/php5 (or lang/php52) port builds the apache module. you will
need to rebuild the php port.
More information about the freebsd-questions
mailing list