ports/92806: Change default PHP version from 4 to 5
Alex Dupre
ale at FreeBSD.org
Sat Feb 4 14:30:14 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list