On Tue, 27 Sep 2016 13:02:46 +0200, Mathieu Arnold <m...@freebsd.org> wrote:
>Le 26/09/2016 à 21:42, scratch65...@att.net a écrit : >> I have the PHP 7.0 package installed under 10.2. Wanting to >> install the pecl-imagick port, I called pkg search, which >> returned a ref. I only caught the fact that it was going to >> install PHP 5.6 despite my having 7.0 installed when it started >> downloading 5.6. >> >> Given that PHP is one of the pillars of a FAMP setup, I'd think >> that pkg should be aware of conflicts like that and return a >> notice ("No version for PHP 7.0. Install PHP 5.6?") rather than >> blythely assume it'd be okay to install an older version of PHP >> (or Apache, or MariaDB/MySQL, mutatis mutandis) despite an >> already-installed later version. > >Right now, the default php version is php 5.6, which is used for the >official package builds. If you want to use another PHP version as the >default, you have to build your ports locally. Both 5.* and 7.* are current tracks at PHP, so it's not surprising that a package is built with 5.6. What surprised me, apart from pkg's apparent willingness to ignore an existing install of 7.0, was that there are no pkgs built against 7.0, even though 7.0 provides a jump in performance that's so large it's visible to the naked eye. _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"