PHP: Upgrade from PHP 7.4.33 to PHP 8.2 or 8.3?

Hello,

My WordPress site https://.............com/ is currently running with PHP 7.4.33

Some plugins are starting to cause update issues with this PHP.

It would seem advisable to upgrade to PHP 8.2 or PHP 8.3

Questions:

How can I know if my site is compatible with either of these two versions, or, if not, which one more precisely ?

How to check the minimum requirements of the CMS or frameworks used by my site. (I don't know what that is!!!)

And ensure that all the plugins and my site's code are compatible with either PHP 8.2 or 8.3

Thank you for your help

Regards

Joël

Hello @JOELS8

The latest version of WordPress is fully compatible with PHP 8.3 and 8.5.

You will therefore need to update to the latest version of WordPress.

But be careful: you must first verify that your theme and all the plugins you have installed are compatible with the latest PHP 8.5 version.

So check each plugin and theme for the PHP version they support.

Once all these prerequisites are verified, you can then upgrade to the stable PHP 8.5 64‑bit version.

Hello @JOELS8

If I were you, this is how I would proceed:

1 - Sort the plugins and themes: only use plugins and themes that are up‑to‑date and compatible with a recent PHP version. To check, simply view the page of each plugin/theme, where the required PHP version is listed. If one of your plugins relies on an obsolete PHP version, it’s better to replace it with a newer alternative.

2 - Update the WordPress plugins and themes

3 - Update the PHP version:

Step 1 of 4: Log in to your client area and click “Webcloud” in the menu at the top of the page.
Step 2 of 4: Then click “Hosting”, and select the name of your hosting plan.
Step 3 of 4: You can then click the three little dots next to “Global PHP version” and choose “Edit configuration”.
Step 4 of 4: Select the option “Edit current configuration”, and click “Next”.

For the configuration, I recommend the following settings:

 • Version de PHP : 8.5
 • Environnement d'exécution : stable64 (choix automatique)
 • Moteur : PHP
 • Mode : Développement
 • Pare-feu applicatif : Désactivé

The development mode is useful because, instead of showing a blank page on error, it will display an error code.
For more info: https://help.ovhcloud.com/csm/fr-web-hosting-change-php-version?id=kb_article_view&sysparm_article=KB0053013

Astérix

Hello,

Thank you for your advice.

I will therefore try to find time to check each of these parameters one by one before performing the operation.

Kind regards,

Joël

Feel free to keep us updated :slight_smile: !

Astérix

Hello,

Thank you for your detailed procedure; it will be of great help to me and will prevent me from making mistakes.

Best regards,

Joël