Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: How to upgrade PHP version in XAMPP for Windows Date: Mon, 20 Feb 2023 20:27:00 +0100 Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net yjCpOQNkxLKJZVkQaHzSoA9a2lXM6jyehhfcm5M0lRupJEVobz Cancel-Lock: sha1:dRrUBH+4k9QyG6w0DZg/WSZck14= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Content-Language: en-US-large In-Reply-To: Xref: csiph.com comp.lang.php:19343 On 2/20/23 17:16, Murtaza Gandhi wrote: > On 19-02-2023 18:10, J.O. Aho wrote: >> On 2/19/23 07:53, Murtaza Gandhi wrote: >> >>> I would like to know an efficient method >>> to upgrade PHP version in local XAMPP Windows >> >> I'm not a ms-windows user, but using a search engine, this page seems >> to be quite recent that describes in detail how to update and what >> config changes are needed if you switch major version >> >> https://www.coderchamp.com/update-php-in-xampp-and-composer/ >> >> > I have tried replacing PHP folder > I wanted to update to PHP 7.2 > So replacing the folder was good enough. It's good to see that you managed to solve the upgrade. I would recommend you update to at least version 8.0, as all the 7.x versions are already end of life and there will not be any security updates of them, which means if they find a bug it will never be fixed and attackers may be taking over web sites. EOL of 7.2 was in the end of 2020. https://www.php.net/supported-versions.php -- //Aho