From owner-freebsd-questions@FreeBSD.ORG Tue Jun 8 02:58:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9ED9F1065678 for ; Tue, 8 Jun 2010 02:58:18 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 429528FC12 for ; Tue, 8 Jun 2010 02:58:18 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o582wEn4021016 for ; Mon, 7 Jun 2010 19:58:14 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 7 Jun 2010 19:58:13 -0700 (PDT) Date: Mon, 7 Jun 2010 19:58:13 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100608025813.GA37407@thought.org> References: <20100608012105.GA5465@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100608012105.GA5465@thought.org> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. Subject: Re: need help with apache22 and libphp5.so X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2010 02:58:18 -0000 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@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@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@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel