On 2024/01/14 18:01, Eric Brown wrote:
> Hello Gonzalo:
> 
> According to:
> 
> https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html
> 
> PHP 8.2 is now the recommended version, though 8.3 is also supported.
> 8.0 is deprecated.  Seems that the port utilizes up to 8.1.
> 
> Is it possible to bump this up?  (May also apply to the other Nextcloud 
> versions.)

With MODULES=lang/php the default version is currently 8.1, except on
sparc64.

It's possible to override and set MODPHP_VERSION=8.2 in an individual
port, but note that doing this will knock out packaging on sparc64 which
is stuck with PHP 8.0 (newer versions have "fibers" which requires
either an OS which supports ucontext, or arch-dependent code which
isn't present for sparc64).

It would be possible to make this conditional on ${MACHINE_ARCH} and
avoid overriding the version on sparc64 until upstream no longer
supports 8.0.

Reply via email to