Changing PHP version once uploaded to server from localhost
-
I am currently developing a wordpress website on localhost with Xampp. My Xampp version is very old and has a php version of 5.6.3 .
I wanted to update my site to use the latest version of wordpress, but I get this message: “You cannot update because WordPress 5.3.2 requires PHP version 5.6.20 or higher.”
I really don’t want to update or re-install my Xampp version at this point.
My question is.. once I upload the WordPress website to my online server.. am I also uploading my old version of PHP with the website & database files? Or does WordPress take the PHP from what the server provides.. so that I can request my server to provide a more recent version of PHP (ie: 7.0). And what do I need to do to link up the newer PHP version for my website to use?
I just checked the dashboard on one of my other WordPress sites on this server.. and it looks like they use an even older version of PHP – 5.3.29.
If I choose a newer version like 7, is there any prep I need to do to the site before hand? And would there be any issue with dropping back to an older version if I have problems running on PHP 7?
Thanks for any suggestions. (Sorry, I know these are probably very basic questions!)
Cheers,
SunnyOz
- The topic ‘Changing PHP version once uploaded to server from localhost’ is closed to new replies.