PHP update on WordPress site

Hello,

I am encountering an issue regarding the PHP update.

On the control panel, I am indeed on version 8.3, but on the dashboard of the WordPress site there is a message telling me the site is on version 7.3…?!

How should I proceed to update to the latest version?

Thanks in advance

Hello,

Note this post is a duplicate of this one:

Astérix

Hello @PatrickC72

Test the exact PHP version on the root of your site with my script bonjour.php:

https://wordetweb.com/word-et-web/WORDPRESS-guide-installation-de-WordPress-premier-domaine-chez-OVH-FR.htm#_I3_–_Contrôle

Hello Gaston,

Thank you for your message,

Here is an excerpt of PHPINFO.php

Thank you in advance,

What interests me: it's the output of my script.

Example for: https://wordetweb.com/word-et-web/bonjour.php

Hello. - It is 2026-07-07 16:45:15
PHP version: **8.5.0**

Hello Gaston,

Here is the result of bonjour.php

Hello again Gaston,

I just updated on OVL to version 8.5,

I’m running a test with a “Hello PHP” script that correctly shows 8.5, but the site no longer displays… there’s a blank page…

I just checked the theme and apparently the last‑update version is from 2024…?

Could that be the cause?

Thanks for your help

Good evening @PatrickC72

Switch back to PHP 7.4
From the WordPress admin, update WordPress, the theme and the plugins.
Switch back to PHP 8.5
If there’s a problem, deactivate all plugins:
https://wordetweb.com/word-et-web/WORDPRESS-guide-installation-de-WordPress-premier-domaine-chez-OVH-FR.htm#_W_-_PLUGINS
Then reactivate each plugin one by one until you find the one causing the error.

So what’s new?

Thank you Gaston for your follow‑up and help

I noticed that in the comments of the theme creator I’m using, there’s a comment without the “support” section that relates to the PHP 8.5 topic,

So I sent a message to the web designer requesting an update,

I think this is due to the PHP version of the theme being used

Here is the post,

I’m waiting for the web designer’s response..

Hello @PatrickC72, if that’s the case, your theme works with PHP 8.0 or 8.4.

Give it a try :clown_face:

Starting from 8.0

No more access…blank page

Hello @PatrickC72
It's in the /www/ folder that we must find the single .ovhconfig file, i.e.:

/www/.ovhconfig

In response to my question, I got an answer from the theme’s web designer who told me that their demo is on version 8.5.6

Thanks again, Gaston

Well, since there is an ovhconfig file in the root…

does that mean I should delete it?

And what should that ovhconfig file look like?

I’m asking because you can see two versions: a lightweight version and a very detailed version— is there one that is preferred?

Rename all .ovhconfig files to .ovhconfig_OLD
Then via the manager change the PHP version several times consecutively to 8.0, 8.1 and 8.5

Here’s what happens when I remove the .ovhconfig file from the root

A question about the hosting configuration: when I go to change the version, there’s a hosting configuration detail shown below:

phpcgi 5.6 production from April 21, 2016

Do I need to modify this section?

Hi @PatrickC72

To avoid directive issues with your .ovhconfig, I recommend you take a look at this URL https://docs.ovhcloud.com/fr/guides/web-cloud/web-hosting/configure-your-web-hosting

The most important thing is that you check which is the latest and compatible PHP version for your theme. If you haven't added any additional plugins, it shouldn't cause any issues when you spin up your environment. If you encounter any problem, do what @Gaston suggested: deactivate all plugins and then reactivate them one by one to pinpoint the possible issue.

Let us know, cheers.
Sergio Turpín

Hello,

Leave a SINGLE .ovhconfig in your hosting. This one could be generated when you go to your client area, hosting section and choose the execution environment.

Alternatively, if you have multiple sites in your multisite, and they require different PHP versions from each other, you can place a .ovhconfig in the main folder of each sub‑site, and in that case you must not place a .ovhconfig in the root of your hosting.

The error message you have: “GET not implemented” occurs when the wrong value “stable” is used instead of “stable64” or vice‑versa in the .ovhconfig file. You must use “stable” up to php7.3 and “stable64” from php7.4.