Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2022 09:10:54 +0100
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        questions@freebsd.org
Subject:   Re: Preparing for PHP8
Message-ID:  <87tubrhgj5.wl-herbert@gojira.at>
In-Reply-To: <8804E535-A9ED-4865-9DC8-C40601283B47@kreme.com>
References:  <298F3F1A-EABF-4AB9-A00C-54427B9B55BB@kreme.com> <8804E535-A9ED-4865-9DC8-C40601283B47@kreme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87tubrhgj5.wl-herbert>