• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Set PHP version not showing in WP and phpinfo

Space Monkey

Basic Pleskian
Server operating system version
Ubuntu 20.04.5
Plesk version and microupdate number
18.0.47
I changed the PHP version from 7.3 to 8.0.23

Applied, confirmed as I always do however my WP dash still says im on 7.3 and when I look in the php setting and press View the phpinfo() page it still states 7.3 instead of 8.0.23

But in the domain manager it shows I have 8.0.23 selected.

Usually it works but no idea why not this time. Already rebooted the server but still 7.3, I missed something??

Even weirder, just upgraded an other server, exact the same configuration but that one had no issues hmm
 
Have you tried to toggle it once, e.g. change the drop down to 7.3, save it, then go back and set it to 8.0 and save it?

Is the domain pointing to this webspace account?
 
Have you tried to toggle it once, e.g. change the drop down to 7.3, save it, then go back and set it to 8.0 and save it?

Is the domain pointing to this webspace account?
I tried going from 7.3 to 7.4, 7.4 to 8.0, 8.0 to 8.1. It keeps showing 7.3

Screenshot 2022-10-02 at 14-49-34 PHP 7.3.33 - phpinfo().png
 
I have only seen the same behavior before where a PHP-FPM instance was stuck so that the PHP-FPM daemon of the corresponding version had to be restarted. Another standard solution for some while was simply to save the same "new" PHP version setting again. But as you have said that you have rebooted the server, it is not possible that a hanging PHP-FPM instance is the cause.

I'd rather think that the domain name itself is not pointing to the right server. For that reason you might do the change in the settings, but when you get a phpinfo() response from your domain, it is not coming from the account that you have configured, but from another account that was never changed. Are you sure that the DNS settings of the domain in question are pointing to the right server?

Besides this I cannot think of any other cause of this symptom, specificially after a server reboot I deem it impossible that an updated configuration is not applied. It is also extremely unlikely that new web server or php configurations are not created when you change the version on one domain, but are created correctly when you do the same on another domain.
 
All points to the right stuff.
I set it too 7.4 and deleted 7.3 but now I server error 403 and have to load a backup
 
I have only seen the same behavior before where a PHP-FPM instance was stuck so that the PHP-FPM daemon of the corresponding version had to be restarted. Another standard solution for some while was simply to save the same "new" PHP version setting again. But as you have said that you have rebooted the server, it is not possible that a hanging PHP-FPM instance is the cause.

I'd rather think that the domain name itself is not pointing to the right server. For that reason you might do the change in the settings, but when you get a phpinfo() response from your domain, it is not coming from the account that you have configured, but from another account that was never changed. Are you sure that the DNS settings of the domain in question are pointing to the right server?

Besides this I cannot think of any other cause of this symptom, specificially after a server reboot I deem it impossible that an updated configuration is not applied. It is also extremely unlikely that new web server or php configurations are not created when you change the version on one domain, but are created correctly when you do the same on another domain.
Well, I couldnt find a solution so just launched a new server and transferred the domain :p
 
Back
Top