From owner-freebsd-questions@FreeBSD.ORG Tue Jun 8 05:42:27 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 37CE41065670 for ; Tue, 8 Jun 2010 05:42:27 +0000 (UTC) (envelope-from jeremy@stormy.smart-serv.net) Received: from mx01.edm.ab.smart-serv.net (web1.smart-serv.net [IPv6:2610:1e8:2900::1]) by mx1.freebsd.org (Postfix) with ESMTP id 0D9428FC12 for ; Tue, 8 Jun 2010 05:42:27 +0000 (UTC) Received: from [192.168.0.41] (S0106000d87073d15.nb.shawcable.net [70.74.68.215]) by mx01.edm.ab.smart-serv.net (Postfix) with ESMTPA id F0C0C113490F; Mon, 7 Jun 2010 23:42:20 -0600 (MDT) Message-ID: <4C0DD83B.6080209@stormy.smart-serv.net> Date: Mon, 07 Jun 2010 22:42:19 -0700 From: Jeremy Johnston User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100420 Thunderbird/3.0.4 MIME-Version: 1.0 To: Gary Kline References: <20100608012105.GA5465@thought.org> <20100608025813.GA37407@thought.org> In-Reply-To: <20100608025813.GA37407@thought.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List 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 05:42:27 -0000 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@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" >> > the lang/php5 (or lang/php52) port builds the apache module. you will need to rebuild the php port.