I use different hosting service but using cloudflare dns for ssl service.
My hosting company upgrade PHP 7.4 my host but It’s not change anything my Wordpress website.
When I change my name service to hosting Company’s name service ı can see php 7.4 version but now I change to Cloudflare old version.
You’re certainly welcome to do that. You can also achieve a similar effect by clicking “Pause Cloudflare on Site” from the Overview tab here, lower right corner of that page.
Thanks for kind answer. I do it for try. Yes PHP version seen correctly.
Now I change name server to cloudflare again and I cannot use FTP and Wordpress seen old php version again.
Could you please send us the link there you read which PHP version it is using?
Just past it here, and when we say, disable CloudFlare, so we can have a look.
I think the request is getting cached and therefor you see an old version.
For example:
You have enabled “Cache everything” and therefor the link you are calling for accessing the phpinfo will deliver an old cached respone to you.
the URL changed now from HTTP to HTTPS so the server could (most probably) have a different configuration for HTTP requests as for HTTPS requests and passes HTTPS requests to a PHP 5.6 Handler and HTTP requests to a PHP 7.0 Handler.
So please check your server configuration and make them the same for HTTP and HTTPS