From owner-freebsd-questions Thu Oct 3 11:53: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 04ABA37B401 for ; Thu, 3 Oct 2002 11:53:37 -0700 (PDT) Received: from veldy.net (veldy-host33.dsl.visi.com [209.98.200.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8162D43E7B for ; Thu, 3 Oct 2002 11:53:36 -0700 (PDT) (envelope-from veldy@veldy.net) Received: from VELDYLT (localhost.veldy.net [127.0.0.1]) by veldy.net (Postfix) with SMTP id A630040B; Thu, 3 Oct 2002 13:53:34 -0500 (CDT) Message-ID: <001a01c26b0e$2d640900$8204dca7@northamerica.corp.microsoft.com> From: "Thomas T. Veldhouse" To: "Nigel Soon" , References: <20021003181541.GF96239@sundive.homeunix.net> Subject: Re: apache13-modssl + mod_php4, php not interpreted Date: Thu, 3 Oct 2002 13:53:19 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 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