From owner-freebsd-questions@FreeBSD.ORG Sun Oct 15 23:39:48 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 E173D16A407 for ; Sun, 15 Oct 2006 23:39:48 +0000 (UTC) (envelope-from lane@joeandlane.com) Received: from elasmtp-dupuy.atl.sa.earthlink.net (elasmtp-dupuy.atl.sa.earthlink.net [209.86.89.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 383DC43D49 for ; Sun, 15 Oct 2006 23:39:46 +0000 (GMT) (envelope-from lane@joeandlane.com) Received: from [66.47.111.183] (helo=joeandlane.com) by elasmtp-dupuy.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1GZFa3-0006bv-Ez for freebsd-questions@freebsd.org; Sun, 15 Oct 2006 19:39:43 -0400 Received: from joeandlane.com (localhost.localnet.local [127.0.0.1]) by joeandlane.com (8.13.8/8.13.1) with ESMTP id k9FNgO9Q027800 for ; Sun, 15 Oct 2006 18:42:24 -0500 (CDT) (envelope-from lane@joeandlane.com) Received: from localhost (localhost [[UNIX: localhost]]) by joeandlane.com (8.13.8/8.13.1/Submit) id k9FNgOhC027799 for freebsd-questions@freebsd.org; Sun, 15 Oct 2006 18:42:24 -0500 (CDT) (envelope-from lane@joeandlane.com) X-Authentication-Warning: joeandlane.com: lholcombe set sender to lane@joeandlane.com using -f From: Lane To: freebsd-questions@freebsd.org Date: Sun, 15 Oct 2006 18:42:24 -0500 User-Agent: KMail/1.9.3 References: <200610151819.13127.lane@joeandlane.com> <20061015191858.837561c2.wmoran@collaborativefusion.com> In-Reply-To: <20061015191858.837561c2.wmoran@collaborativefusion.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610151842.24375.lane@joeandlane.com> X-CD-SOLUTIONS-MailScanner-Information: Please contact the ISP for more information X-CD-SOLUTIONS-MailScanner: Found to be clean X-CD-SOLUTIONS-MailScanner-From: lane@joeandlane.com X-ELNK-Trace: e56a4b6ca9bdfda11aa676d7e74259b7b3291a7d08dfec7984814b8242a53cb6b6735ecfedce138c350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.47.111.183 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:39:49 -0000 On Sunday 15 October 2006 18:18, Bill Moran wrote: > 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. Thanks, Bill. But that does not install libphp4.so. libphp4.so is not created, or if it is created it has a name OTHER than libphp4.so. After taking the steps you describe, I expect that I should get something in a directory listing such as: ls -al /usr/local/libexec/apache | grep php However nothing is listed Nor is anything listed when I do: ls -al /usr/local/libexec/apache | grep "Oct 14" Apparently no new modules where added today. I thought maybe it was installed in another place, so I ran /etc/periodic/weekly/310.locate and then: locate mod_php But still I get nothing. Perhaps mod_php is no longer available for FreeBSD 5.4? lane