From owner-freebsd-questions Thu Oct 3 12:23:38 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 14CBF37B401 for ; Thu, 3 Oct 2002 12:23:36 -0700 (PDT) Received: from sundive.homeunix.net (h24-86-156-104.ed.shawcable.net [24.86.156.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A33543E6E for ; Thu, 3 Oct 2002 12:23:35 -0700 (PDT) (envelope-from ns@sundive.homeunix.net) Received: from sundive.homeunix.net (localhost.homeunix.net [127.0.0.1]) by sundive.homeunix.net (8.12.3/8.12.3) with ESMTP id g93Iwid9097879; Thu, 3 Oct 2002 12:58:44 -0600 (MDT) (envelope-from ns@sundive.homeunix.net) Received: (from ns@localhost) by sundive.homeunix.net (8.12.3/8.12.3/Submit) id g93IwhHK097878; Thu, 3 Oct 2002 12:58:43 -0600 (MDT) Date: Thu, 3 Oct 2002 12:58:43 -0600 From: Nigel Soon To: "Thomas T. Veldhouse" Cc: freebsd-questions@freebsd.org Subject: Re: apache13-modssl + mod_php4, php not interpreted Message-ID: <20021003185843.GG96239@sundive.homeunix.net> References: <20021003181541.GF96239@sundive.homeunix.net> <001a01c26b0e$2d640900$8204dca7@northamerica.corp.microsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001a01c26b0e$2d640900$8204dca7@northamerica.corp.microsoft.com> User-Agent: Mutt/1.4i 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 Hi Tom, Thanks I was missing the 'Addtype ...' lines in my http.conf file. Once I added those and restarted the server everything worked. Thanks again, Nigel On Thu, 03 Oct 2002, Thomas T. Veldhouse wrote: > First, did you start your server with SSL? Second, unless you want php to > run ONLY with SSL, I would move it out of that block so that it will start > anytime. Lastly, make sure you have the following in your config. > > [...] > DirectoryIndex index.php index.html > [...] > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > [...] > > Tom Veldhouse > > ----- Original Message ----- > From: "Nigel Soon" > To: > Sent: Thursday, October 03, 2002 1:15 PM > Subject: apache13-modssl + mod_php4, php not interpreted > > > > Hello, > > > > I have a problem with php not being interpreted now that I have > > started using apache13-modssl instead of apache13. > > > > I am running freebsd 4.6-RELEASE. The procedure I went through > > was removing mod_php4 then removing apache. I then changed the > > dependency of mod_php4 to use apache13-modssl and recompiled. > > > > The web server starts fine using ssl but the php web pages are > > not interpreted. I have the following lines in my http.conf > > file which leads me to believe the php modules are being loaded > > > > ----------- > > > > LoadModule ssl_module libexec/apache/libssl.so > > LoadModule php4_module libexec/apache/libphp4.so > > > > . > > . > > . > > . > > > > AddModule mod_ssl.c > > AddModule mod_php4.c > > > > ----------- > > > > > > Does anybody have any ideas? > > > > Thanks, > > > > Nigel > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message