Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2020 11:39:18 -0800
From:      Mel Pilgrim <list_freebsd@bluerosetech.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Php 7.2 -> 7.3
Message-ID:  <0c2db144-849c-82e4-9e2b-4080d59abad5@bluerosetech.com>
In-Reply-To: <20201207202338.C6C762921F39@ary.qy>
References:  <20201207202338.C6C762921F39@ary.qy>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-12-07 12:23, John Levine wrote:
> In article <CAAdA2WOhEQUcUc4JtE=E277MfqBEw-tP=6RW0Zv+g9vO9VVppg@mail.gmail.com> you write:
>>On Sun, 6 Dec 2020 at 22:12, Jos Chrispijn <bsduser@cloudzeeland.nl> wrote:
>>> Can someone tell me how I can best upgrade my
>>>
>>> PHP 7.2.34 (cli) (built: Oct 10 2020 01:19:29) ( NTS ) to PHP 7.3 or 7.4?
>>>
>>>
>>pkg_deinstall php72-\*
>>cd /usr/ports/lang/php74 && make config && make install clean
>>cd /usr/ports/lang/php74-extensions && make config && make install clean
>>Nothing much will break if you've been on 7.2
> 
> That's pretty close, but I would start by checking what php packages you
> actually have installed:
> 
> $ pkg info -g \*php\*
> 
> Many web applications such as phpMyAdmin and roundcube have PHP
> version-specific packages.
> 
> Then
> 
> $ pkg delete -g php\*
> ; maybe delete roundcube-php72 mod_php72 etc.
> 
> $ pkg install php74 php74-extensions
> ; maybe install roundcube-php74 mod_php74 etc.
> 
> If you're using mod_php restart your web server.
> 
> I agree that the differences between 7.2 and 7.4 are small.

This is overkill. See UPDATING enty 20200914. Pkg is really good at 
handling these kinds of upgrades.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0c2db144-849c-82e4-9e2b-4080d59abad5>