Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Feb 2006 15:28:30 +0100 (CET)
From:      Alex Dupre <ale@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/92806: Change default PHP version from 4 to 5
Message-ID:  <200602041428.k14ESUDe066696@thunder.alexdupre.com>
Resent-Message-ID: <200602041430.k14EUCbs024550@freefall.freebsd.org>

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

>Number:         92806
>Category:       ports
>Synopsis:       Change default PHP version from 4 to 5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 04 14:30:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alex Dupre
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD thunder.alexdupre.com 6.0-STABLE FreeBSD 6.0-STABLE #2: Sun Jan 22 17:53:48 CET 2006 alex@thunder.alexdupre.com:/usr/obj/usr/src/sys/THUNDER i386


	
>Description:
PHP 5 has now reached the stability and speed of PHP 4, with many additional
features. We should change the default installed PHP version in bsd.php.mk.
Since 4 and 5 are quite different versions a full ports tree build is recommended
before the change could be committed.
	
>How-To-Repeat:
	
>Fix:

	

--- bsd.php.mk.diff begins here ---
Index: bsd.php.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.php.mk,v
retrieving revision 1.25
diff -u -r1.25 bsd.php.mk
--- bsd.php.mk	1 Feb 2006 07:18:46 -0000	1.25
+++ bsd.php.mk	4 Feb 2006 14:16:02 -0000
@@ -38,7 +38,7 @@
 .include "${LOCALBASE}/etc/php.conf"
 PHP_EXT_DIR!=	${LOCALBASE}/bin/php-config --extension-dir | ${SED} -ne 's,^${LOCALBASE}/lib/php/\(.*\),\1,p'
 .else
-DEFAULT_PHP_VER?=	4
+DEFAULT_PHP_VER?=	5
 
 PHP_VER?=	${DEFAULT_PHP_VER}
 .if ${PHP_VER} == 4
--- bsd.php.mk.diff ends here ---


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



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