From owner-freebsd-questions Sat Aug 24 17:26:53 2002 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 A14F837B400 for ; Sat, 24 Aug 2002 17:26:51 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DEFD43E6E for ; Sat, 24 Aug 2002 17:26:50 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g7P0QmQI005860; Sun, 25 Aug 2002 01:26:48 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g7P0QgQ2005859; Sun, 25 Aug 2002 01:26:42 +0100 (BST) Date: Sun, 25 Aug 2002 01:26:42 +0100 From: Matthew Seaman To: Brossin Pierrick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: apache2 and php4 Message-ID: <20020825002642.GA3075@happy-idiot-talk.infracaninophi> References: <000501c24b5d$4f1b8300$3200000a@nitrox> <001401c24b60$346d09e0$0200000a@perimeter.co.za> <000801c24b6c$a80cd680$3200000a@nitrox> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000801c24b6c$a80cd680$3200000a@nitrox> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Aug 24, 2002 at 02:49:16PM +0200, Brossin Pierrick wrote: > Hi and thank you for your very fast answer! > > :: # cd /usr/local/etc/apache > :: # grep php httpd.conf > :: LoadModule php4_module libexec/apache/libphp4.so > > humm this file doesn't exist on my system. > I tried to "distclean" and "deinstall" apache2 and php4 and "install" both > of them again but the file `libphp4.so` is not there. Try looking in /usr/local/libexec/apache2 You need these lines in your httpd.conf: happy-idiot-talk:...local/etc/apache2:# grep -i php httpd.conf LoadModule php4_module libexec/apache2/libphp4.so DirectoryIndex index.php index.html index.html.var # PHP4 types AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message