From aef5a666706db2a5b97c1cc3d1fcc2ca05b22fcb Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Wed, 3 Aug 2016 12:47:05 +0000 Subject: Don't use extension.ini any more, and have each extension install in its file, so the order remains the same. Every PHP (or Zend) extension now installs its own .ini file in /usr/local/etc/php. A PHP extension will be automatically activated when installed. The order into which extensions are loaded is automatically guessed. In some very rare cases, the guess will be wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php section of the Porter's Handbook for more information. Convert ports touching etc/php/extensions.ini manually, or telling the OP to do it. And finally, bump PORTREVISION for all php extensions. PR: 210697 Submitted by: mat Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D7022 --- devel/php-xdebug/Makefile | 1 + devel/php-xdebug/files/pkg-message.in | 14 ++++---------- 2 files changed, 5 insertions(+), 10 deletions(-) (limited to 'devel/php-xdebug') diff --git a/devel/php-xdebug/Makefile b/devel/php-xdebug/Makefile index c6a29af0bae1..0842deab920b 100644 --- a/devel/php-xdebug/Makefile +++ b/devel/php-xdebug/Makefile @@ -3,6 +3,7 @@ PORTNAME= xdebug PORTVERSION= 2.4.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://xdebug.org/files/ PKGNAMEPREFIX= php- diff --git a/devel/php-xdebug/files/pkg-message.in b/devel/php-xdebug/files/pkg-message.in index 40b8ca11dcb6..d3960b2f56f2 100644 --- a/devel/php-xdebug/files/pkg-message.in +++ b/devel/php-xdebug/files/pkg-message.in @@ -1,17 +1,11 @@ ***************************************************************************** The php debugger 'xdebug' has been installed successful. -Add a line containing - extension=%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/xdebug.so +It has been automatically enabled. -or - - zend_extension=%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/xdebug.so - -to your php.ini to load it. xdebug is not compatible with the extension -'Zend Optimizer' - you're only able to use one of them. So take care having -at least the lesser required extension disabled by commenting out it's -loader line in your php.ini. +xdebug is not compatible with the extension 'Zend Optimizer' - you're only able +to use one of them. So take care having at least the lesser required extension +disabled by commenting out it's loader line in its %%PREFIX%%/etc/php/ext-* file. Add following section to enable profiling: -- cgit v1.2.3