Date: Thu, 3 Oct 2002 12:22:14 -0700 From: "Octavian Hornoiu" <liquid_net@usa.net> To: <freebsd-questions@freebsd.org> Subject: RE: apache13-modssl + mod_php4, php not interpreted Message-ID: <001c01c26b12$2ea517b0$1c9d2204@phobos> In-Reply-To: <20021003181541.GF96239@sundive.homeunix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Make sure that the following lines are also present in httpd.conf
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Without these, apache will not interpret php.
Good luck!
- Octavian
-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Nigel Soon
Sent: Thursday, October 03, 2002 11:16 AM
To: freebsd-questions@freebsd.org
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
-----------
<IfDefine SSL>
LoadModule ssl_module libexec/apache/libssl.so
LoadModule php4_module libexec/apache/libphp4.so
</IfDefine>
..
..
..
..
<IfDefine SSL>
AddModule mod_ssl.c
AddModule mod_php4.c
</IfDefine>
-----------
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001c01c26b12$2ea517b0$1c9d2204>
