Professional Documents
Culture Documents
First we need to check the current version of PHP. To check the version of PHP run following command:
# php -v
To upgrade php, first you must include the Webtatic EL yum repository data relating to your CentOS/RHEL variant to yum:For
those running on CentOS/RHEL 7:
After installing Webtatic yum repository, you need to remove the old version of php-common package. It will also delete it
dependencies packages.
# yum install -y php56w php56w-opcache php56w-xml php56w-mcrypt php56w-gd php56w-devel php56w-mysql php56w-intl
php56w-mbstring