From owner-freebsd-questions@freebsd.org Tue Dec 8 19:39:30 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 070744AA3D3 for ; Tue, 8 Dec 2020 19:39:30 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from echo.brtsvcs.net (echo.brtsvcs.net [IPv6:2607:f740:c::4ae]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cr9VT0BBfz4pp7 for ; Tue, 8 Dec 2020 19:39:28 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from chombo.houseloki.net (unknown [IPv6:2602:41:642b:600::6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "chombo.houseloki.net", Issuer "brtsvcs.net CA" (verified OK)) by echo.brtsvcs.net (Postfix) with ESMTPS id 5332738D25 for ; Tue, 8 Dec 2020 19:39:21 +0000 (UTC) Received: from [IPv6:2602:41:642b:630:3daf:3d0e:c8ad:b027] (unknown [IPv6:2602:41:642b:630:3daf:3d0e:c8ad:b027]) by chombo.houseloki.net (Postfix) with ESMTPSA id EA4B2191B for ; Tue, 8 Dec 2020 11:39:19 -0800 (PST) Subject: Re: Php 7.2 -> 7.3 To: freebsd-questions@freebsd.org References: <20201207202338.C6C762921F39@ary.qy> From: Mel Pilgrim Message-ID: <0c2db144-849c-82e4-9e2b-4080d59abad5@bluerosetech.com> Date: Tue, 8 Dec 2020 11:39:18 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <20201207202338.C6C762921F39@ary.qy> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Cr9VT0BBfz4pp7 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of list_freebsd@bluerosetech.com designates 2607:f740:c::4ae as permitted sender) smtp.mailfrom=list_freebsd@bluerosetech.com X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f740:c::4ae:from]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:relay3.brtsvcs.net]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f740:c::4ae:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[bluerosetech.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36236, ipnet:2607:f740:c::/48, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2020 19:39:30 -0000 On 2020-12-07 12:23, John Levine wrote: > In article you write: >>On Sun, 6 Dec 2020 at 22:12, Jos Chrispijn 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.