Using PHP 7: Difference between revisions
Jump to navigation
Jump to search
(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...") |
No edit summary |
||
Line 1: | Line 1: | ||
PHP 7 usage is still experimental... | PHP 7 usage is still experimental... | ||
Upgrade you PHP to php 7. | Upgrade you PHP to php 7.2 by running: | ||
<pre> | <pre> | ||
yum -y replace php-common --replace-with= | yum -y replace php-common --replace-with=php72-php-common | ||
yum -y install | yum -y install php72-php-cli | ||
yum -y install | yum -y install php72-php-pecl-http php72-php-pecl-http-devel | ||
yum -y install php72-php-pecl-mysql | |||
ln -s /usr/bin/ | ln -s /usr/bin/php72 /usr/bin/php | ||
service httpd restart | service httpd restart | ||
</pre> | </pre> |
Revision as of 22:08, 25 February 2019
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