Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2000 17:00:03 -0800 (PST)
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/23649: the port of mod_php4 does not install correctly with the apache/mod_ssl port
Message-ID:  <200012200100.eBK103Y06339@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/23649; it has been noted by GNATS.

From: "Scot W. Hetzel" <hetzels@westbend.net>
To: <rsimmons@spamcop.net>, <freebsd-gnats-submit@FreeBSD.ORG>
Cc:  
Subject: Re: ports/23649: the port of mod_php4 does not install correctly with the apache/mod_ssl port
Date: Tue, 19 Dec 2000 18:50:29 -0600

 From: <rsimmons@spamcop.net>>
 > After installing the port apache+mod_ssl-1.3.14+2.7.1_1 then installing
 the port mod_php-4.0.3pl1 the LoadModule directive in httpd.conf for loading
 the php module gets put inside the IfDefine SSL.  I am not actually running
 SSL at the moment and putting this directive in this particular place makes
 it dependant on SSL.  The AddModule directive is also in a similar IfDefine.
 > >How-To-Repeat:
 > Install apache+mod_ssl-1.3.14+2.7.1_1 then install mod_php-4.0.3pl1 then
 look in /usr/local/etc/apache/httpd.conf
 > >Fix:
 > Change the script that merges the php4_mod into the httpd.conf file so
 that it adds the module right after the last normal module and before the
 IfDefines.
 >
 This isn't an easy fix, when you have an <IfDefine ..> AddModule..
 </IfDefine> as the last entry in the AddModule list.
 
 A better solution is to remove the <IfDefine ..> </IfDefine> from the
 AddModule/LoadModule lists and comment out the appropriate module line.
 Then change the remaining <IfDefine ..> </IfDefine> into <IfModule ..>
 </IfModule>.
 
 Then when you wish to turn a module on or off you use the apxs program or
 remove the "#" from the modules AddModule/LoadModule directive.
 
 Scot
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012200100.eBK103Y06339>