How to update PHP version 7.0.30 to greater version?
I’m running a WordPress website on my account and I was wondering if my account supported PHP 7.1 or greater version?
How to update my PHP version to the latest one?
Thanks in advance!
Joan
1 Reply
Short answer: Create a PHP info file. https://secure.php.net/manual/en/function.phpversion.php
Longer answer:
Assuming that you’re installing straight from repos: Your PHP and other software versions is going to based on what Linux distro you’re using and what repository you’re using from that distro.
For example, if you’re running Debian 9 and you’re using the stable repo then you’re PHP version will be whatever is listed in that repo.
As far as getting the latest version, if this a production environment, then I wouldn’t get the latest version due to stability/security issues.