Re: How to upgrade PHP version in XAMPP for Windows
Arne Vajhøj <[email protected]> Mon, 20 Feb 2023 10:28:15 -0500
| Newsgroups | comp.lang.php |
|---|---|
| Organization | A noiseless patient Spider |
| Message-ID | <[email protected]> |
On 2/19/2023 7:40 AM, 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/
But from a more philosophical point of view.
Someone wants to run PHP, Apache and MySQL.
Fundamentally they have two possible approaches:
A) install each of the 3 products separately, configure
them to integrate etc..
B) get a "smart bundle" that one just install and
then everything is ready to use
Both approaches are perfectly fine.
#A works great for the more system savy types.
#B works great for those that just want to write
and test some PHP and have no interest whatsoever in the
plumbing that makes it happen.
But frequently the last group comes back and want to
"change something".
It is obviously doable as the bundle is really
just a bundle with a smart installer. All the real
configuration options are still available somewhere
under the hood.
But I don't think that it is the right path.
To me the options that make sense are:
- stick to what the bundle provides
- upgrade to a new version of the bundle and take
whatever combo the bundle creator has picked
- drop approach #B and switch to approach #A and
spend the time to learn to install and configure
everything
Arne