Re: Preparing for PHP8

From: Herbert J. Skuhra <herbert_at_gojira.at>
Date: Mon, 21 Mar 2022 08:10:54 UTC
On Sat, 19 Mar 2022 08:32:57 +0100, "@lbutlr" wrote:

> I meant to reply to this thread but replied off thread instead. I
> did play around with trying to install php8 and round cube and
> immediately hit a wall.
> 
> Postmaster mail/roundcuve it would either reinstlall the php74
> version or, if I removed php74 entirely, it failed to build at all
> because it couldn't install php72.
> 
> In make.conf should it be php=8.0 or php=8?

The first is correct, but PHP 8.0 is already the default version:

commit 2e1fdc173831debc50f2c25b86e202c0a4967334
Author: Muhammad Moinur Rahman
Date:   Mon Jan 24 17:41:06 2022 -0600

    Change PHP default version to 8.0

$ grep -i php_def /usr/ports/Mk/bsd.default-versions.mk
PHP_DEFAULT?=           8.0

Is your ports tree up-to-date? What branch do you use?

What does DEFAULT_VERSIONS in /etc/make.conf contain?

PHP 7.2 (and 7.3) is (long) gone...

--
Herbert