Using PHP 7

From MiRTA PBX documentation
Revision as of 22:08, 25 February 2019 by Admin (talk | contribs)
Jump to navigation Jump to search

PHP 7 usage is still experimental...

Upgrade you PHP to php 7.2 by running:

yum -y replace php-common --replace-with=php72-php-common
yum -y install php72-php-cli
yum -y install php72-php-pecl-http php72-php-pecl-http-devel
yum -y install php72-php-pecl-mysql
ln -s  /usr/bin/php72 /usr/bin/php

service httpd restart