Re: PHP upgrade 8.1 -> 8.2 does not update php.ini

From: Patrick M. Hausen <hausen_at_punkt.de>
Date: Sun, 11 Feb 2024 17:14:57 UTC
Hi all, hi Xavier,

> Am 11.02.2024 um 18:06 schrieb Xavier Humbert <xavier@groumpf.org>:
> Today, I upgraded php (and its extensions) from 8.1 to 8.2, via portupgrade. Quite painful, btw, unless you script it
> 
> Unfortunately, php.ini  was not updated, the line
> 
>     extension_dir = "/usr/local/lib/php/20220829-zts"
> 
> had to be manually fixed
> 
> Is this the expected behaviour ?  UPDATING does not mention it.

None of the PHP ports installs php.ini - they only provide sample files
for various usage scenarios (development, production).

So you copied one of them one time in the past and the burden of
keeping it updated is on the administrator.

Not claiming this is the best imaginable behaviour, but I'm pretty sure
this is the current state of affairs.

Kind regards,
Patrick