Pkg doesn't care about conflict
Mathieu Arnold
mat at FreeBSD.org
Tue Sep 27 11:02:52 UTC 2016
Le 26/09/2016 à 21:42, scratch65535 at 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.
--
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20160927/559f3546/attachment.sig>
More information about the freebsd-ports
mailing list