Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2000 09:20:04 -0700 (PDT)
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/20876: mod_php4 (and maybe mod_php3) misplace the directive in apache.conf
Message-ID:  <200008271620.JAA35261@freefall.freebsd.org>

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

From: "Scot W. Hetzel" <hetzels@westbend.net>
To: <bsb@nipplehead.yi.org>, <freebsd-gnats-submit@FreeBSD.ORG>
Cc:  
Subject: Re: ports/20876: mod_php4 (and maybe mod_php3) misplace the directive in apache.conf
Date: Sun, 27 Aug 2000 11:15:39 -0500

 From: <bsb@nipplehead.yi.org>
 > >Description:
 > When mod_php4 is install with apache+mod_ssl-1.3.12+2.6.6,
 > the mod_php4 port appends the appropriate directive to
 > /usr/local/etc/apache/apache.conf.  Unfortunately, it doesn't
 > put it in an appropriate place.  'AddModule mod-php4.c' is
 > added within the 'IfDefine SSL' statements.  This being the
 > case, php would only be available when apache is started with
 > 'startssl'.  'AddModule mod_php4.c' should appear outside the
 > 'IfDefine's.
 >
 
 Unfortunately, that is a problem with APXS installed from the apache* ports.  It looks for the last AddModule/LoadModule directives
 when it parses the [apache|httpd].conf files.
 
 The only way to fix this problem is to add commented out module directives in the appropriate order to the [apache|httpd].conf-dist
 files:
 
 #LoadModule mod_php3.so
 #LoadModule mod_php4.so
 #LoadModule mod_frontpage.so
 :
 :
 
 #AddModule mod_php3.c
 #AddModule mod_php4.c
 #AddModule mod_frontpage.c
 :
 :
 
 <IfModule mod_php3.c>
 :
 </IfModule>
 
 This way, APXS will first look for *Module lines beginning with '#' and uncomment the line.  When the module is remove APXS puts the
 '#' back.
 
 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?200008271620.JAA35261>