Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2002 23:06:26 -0700 (PDT)
From:      Jason Li <delphij@frontfree.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/43225: phpPgAdmin port doesn't work with Apache2 by default
Message-ID:  <200209220606.g8M66QAc078808@www.freebsd.org>

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

>Number:         43225
>Category:       ports
>Synopsis:       phpPgAdmin port doesn't work with Apache2 by default
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 21 23:10:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jason Li
>Release:        FreeBSD 5.0-CURRENT
>Organization:
Frontfree Technology Network
>Environment:
FreeBSD apache.frontfree.net 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Sun Sep 22 01:44:37 CST 2002     delphij@apache.frontfree.net:/usr/obj/usr/src/sys/APACHE  i386
>Description:
The phpPgAdmin port requires php4 or php3. Currently php4 supports Apache2 as well as Apache, though that's exprimental, but many people uses php4 with Apache 2.x.

I think it's important to support Apache2/php4, unfortunatelly, the port doesn't do this by default.
>How-To-Repeat:
Make the port under a system have Apache2 and mod_php4 installed
>Fix:
The following lines in Makefile under ports/databases/phppgadmin
.if !defined(WITH_PHP3)
RUN_DEPENDS+=   ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
.else
RUN_DEPENDS+=   ${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3
.endif

should consider to modify to

.if !defined(WITH_PHP3)
.if defined(WITH_APACHE2)
RUN_DEPENDS+=   ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
.else
RUN_DEPENDS+=   ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
.endif
.else
RUN_DEPENDS+=   ${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3
.endif

and additional prompt may be needed.
>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?200209220606.g8M66QAc078808>