Using PHP 7

From MiRTA PBX documentation
Revision as of 17:11, 25 February 2019 by Admin (talk | contribs) (Created page with "PHP 7 usage is still experimental... Upgrade you PHP to php 7.3 by running: <pre> yum -y replace php-common --replace-with=php73-php-common yum -y install php73-php-cli yum...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

PHP 7 usage is still experimental...

Upgrade you PHP to php 7.3 by running:

yum -y replace php-common --replace-with=php73-php-common
yum -y install php73-php-cli
yum -y install php73-php-pecl-http.x86_64 php73-php-pecl-http-devel

ln -s  /usr/bin/php73 /usr/bin/php

service httpd restart