From owner-freebsd-questions@FreeBSD.ORG Sun Mar 13 18:47:35 2005 Return-Path: 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 C4EFA16A4CE for ; Sun, 13 Mar 2005 18:47:35 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3050143D5A for ; Sun, 13 Mar 2005 18:47:35 +0000 (GMT) (envelope-from bulk_mail@siegel-tech.net) Received: from [10.0.0.8] (63-225-97-116.dnvr.qwest.net[63.225.97.116]) by comcast.net (sccrmhc13) with ESMTP id <2005031318473401600gluv4e>; Sun, 13 Mar 2005 18:47:34 +0000 From: Aaron Siegel To: freebsd-questions@freebsd.org User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Disposition: inline Date: Sun, 13 Mar 2005 11:48:10 -0700 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200503131148.10285.bulk_mail@siegel-tech.net> Subject: configuring php4 and apache2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: aj@siegel-tech.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2005 18:47:35 -0000 Hello I am have problems getting php4 to work with apache2. I have these working on another FreeBSD 4.10 server but I can not get it working on my 5.3 server. When I try to load a php page with my web browser it just ask me if I want to download the php file. Here is what I have done to configure and install: installed apache-2.0.53 php4-4.3.10_2 php4-extensions-1.0 edited /etc/rc.conf apache2_enable="YES" /usr/local/etc/apache2/httpd.conf LoadModule php4_module libexec/apache2/libphp4.so AddType application/x-http-php .php AddType application/x-http-php-source .phps copied php.ini-recommended to php.ini edited php.ini include_path = ".:/php/includes" include_path ="/usr/local/share/pear" I have reloaded all the application and rebooted the computer. I have read the php manual, I believe I have followed all the steps in the pkg-message files and tried google but I can not find the answer. I am sorry for asking such a basic question which is probably documented somewhere. Thank you Aaron