And if you’re on a version of PHP older than 5.6 you need to upgrade.
This guide steps you through upgrading your installation of PHP to version 5.6 or 7.0 if you’re on Red Hat or Centos 7.
Get the latest tutorials on Sys Admin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.
:-) I personally need 1.0.1c for Nginx, as well other packages.
You should, almost, always upgrade to the latest version of PHP, if and where possible.
If package is already installed it will try to update to latest version.
First, open the Terminal application and type following two commands (Application Please note that above two commands will fetch files from the Internets or local mirrors.