Change language

When Is the Right Time to Update to a New PHP Version: Lately in PHP podcast episode 92 part 2

When Is the Right Time to Update to a New PHP Version: Lately in PHP podcast episode 92 part 2

The right time is not too early, nor too late. Thats kind of obvious, but it needs to be said because too early is a version that is too  recent and too late is a version that is too old.  So you may wonder when it is  the right time for us to upgrade.  The right time is not too early not too late. Thats kind of obvious but it needs to be said because too early is a version that is too  recent in too late is a version that is too old. So what is a version that is too  recent? Every time a new release is made, as I said, there are issues. So if you wait  sometime before you upgrade, you give time to the core developers to realize there are issues, and so, they can fix those issues and they may release a new version that is more stable, has less  issues, and it is better for you to upgrade then.  For instance, if you wait for a month after the latest release, you give enough time to fix a lot of  issues. For instance, PHP 8.1.4 was released on March 17, 2022. So if you wait one month, if you wait until April 17, 2022 that version will be more stable, so its  safer for you to upgrade. Still you may not need all the features, benefits, and latest version. you may be able to wait some more time until that version  gets more stable, and that is even safer. But you cannot delay too much the upgrade, so there is  another criterion for you to decide when it is right to upgrade to a new version that is not  too old. So that criteria, what I suggest is that you find the latest stable release that  was still published by the core developers and use the same criteria of waiting one month after that stable release was made. So for  instance PHP 7.4 29 was released on April 14 2022.

So if you have one month that gives may 14 2022. So then it is safer to upgrade to that latest release that is more stable than the latest  that I have mentioned PHP 8.1.4 which is a version that was released recently, relative to the time of this recording. Still, you may have another problem which is: what can you do if you do not  control the exact version that is installed in your server, the version of PHP or the  a version of the operating system or the a version of web server, database server, and email  server. All those components are important.

You need to use versions of those components and  tools that are stable and do not cause issues to your application. So in that case, you should  follow the recommendation that the hosting company or the operating system distribution company  that controls whatever is the version that is used for each of those components in those  distributions or in the server that you are using. So lets suppose that you use  a Linux operating system like Ubuntu distribution, and you need to use  similar criteria that I mentioned before regarding using a month of delay between the latest release  and the time that you wait until you upgrade, okay?

Shop

Learn programming in R: courses

$

Best Python online courses for 2022

$

Best laptop for Fortnite

$

Best laptop for Excel

$

Best laptop for Solidworks

$

Best laptop for Roblox

$

Best computer for crypto mining

$

Best laptop for Sims 4

$

Latest questions

NUMPYNUMPY

Common xlabel/ylabel for matplotlib subplots

12 answers

NUMPYNUMPY

How to specify multiple return types using type-hints

12 answers

NUMPYNUMPY

Why do I get "Pickle - EOFError: Ran out of input" reading an empty file?

12 answers

NUMPYNUMPY

Flake8: Ignore specific warning for entire file

12 answers

NUMPYNUMPY

glob exclude pattern

12 answers

NUMPYNUMPY

How to avoid HTTP error 429 (Too Many Requests) python

12 answers

NUMPYNUMPY

Python CSV error: line contains NULL byte

12 answers

NUMPYNUMPY

csv.Error: iterator should return strings, not bytes

12 answers

News


Wiki

Python | How to copy data from one Excel sheet to another

Common xlabel/ylabel for matplotlib subplots

Check if one list is a subset of another in Python

sin

How to specify multiple return types using type-hints

exp

Printing words vertically in Python

exp

Python Extract words from a given string

Cyclic redundancy check in Python

Finding mean, median, mode in Python without libraries

cos

Python add suffix / add prefix to strings in a list

Why do I get "Pickle - EOFError: Ran out of input" reading an empty file?

Python - Move item to the end of the list

Python - Print list vertically