From owner-freebsd-questions@FreeBSD.ORG Sun Oct 15 23:19:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2FA816A40F for ; Sun, 15 Oct 2006 23:19:01 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B40243D53 for ; Sun, 15 Oct 2006 23:19:01 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from localhost (c-71-60-174-60.hsd1.pa.comcast.net [71.60.174.60]) (AUTH: LOGIN wmoran, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Sun, 15 Oct 2006 19:19:00 -0400 id 00056407.4532C1E4.000003EC Date: Sun, 15 Oct 2006 19:18:58 -0400 From: Bill Moran To: Lane Message-Id: <20061015191858.837561c2.wmoran@collaborativefusion.com> In-Reply-To: <200610151819.13127.lane@joeandlane.com> References: <200610151819.13127.lane@joeandlane.com> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: libphp4.so not installed from /usr/ports/lang/php4 and mod_php4 is gone??!! 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: Sun, 15 Oct 2006 23:19:01 -0000 Lane wrote: > Hi, > > I'm trying to install mod_php on an existing apache13 server. > > The original config documentation requires that this entry be added to > httpd.conf: > > LoadModule php4_module libexec/apache/libphp4.so > > libphp4.so was previously built by /usr/ports/www/mod_php4 (iirc) but that > port has apparently been merged into /usr/ports/lang/php4 > > So I compiled the port with -DAPACHE=yes and I got the pkg-message.mod message > telling me to add > > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > > to httpd.conf > > However, libphp4.so was not created, nor was it installed. Nor is there any > mention of libphp4.so in pkg-plist (or anywhere, as far as I can tell). > > So ... now the question .... > > How do I get mod_php working again? (with Apache13) cd /usr/ports/lang/php4 make config (select the Apache module from the menu) rebuild/reinstall php. -- Bill Moran When I point out limitations of one technique as a motivation for another, I do so in the context of specific problems; for different problems or in other contexts, the first technique may indeed be the better choice. Useful software has been constructed using all of the techniques presented here. Bjarne Stroustrup, _The_C++_Programming_Language_