Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2002 10:22:09 -0500 (CDT)
From:      Larry Rosenman <ler@lerctr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ler@lerctr.org
Subject:   ports/37633: www/mod_php4 port modifys /usr/local/etc/apache/httpd.conf incorrectly when SSL is present.
Message-ID:  <200205011522.g41FM9Ot075092@lerlaptop.iadfw.net>

next in thread | raw e-mail | index | archive | help

>Number:         37633
>Category:       ports
>Synopsis:       www/mod_php4 port modifys /usr/local/etc/apache/httpd.conf incorrectly when SSL is present.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 01 08:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Larry Rosenman
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
LERCTR Consulting
>Environment:
System: FreeBSD lerlaptop 4.5-STABLE FreeBSD 4.5-STABLE #25: Wed May 1 00:30:38 CDT 2002 ler@lerlaptop:/usr/obj/usr/src/sys/LERLAPTOP i386


>Description:
The www/mod_php4 port adds the statments to load and activate the libphp4.so 
extension automatically to the /usr/local/etc/apache/httpd.conf file. 

Unfortunately, if the original file was built using the www/apache13-modssl
port, these statments are added in a <IFDEFINE SSL></IFDEFINE SSL> 
block. 

They should be OUTSIDE this block, such that if Apache is started without
-DSSL, PHP will still work.
>How-To-Repeat:
build from no apache installed:

www/apache13-modssl
www/mod_php4

(pick any options for PHP).

Edit /usr/local/etc/apache/httpd.conf and notice where the load's are for php4
so file. 

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

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?200205011522.g41FM9Ot075092>