M ak
M ak

Reputation: 21

How install Intl, GMP and BCMath PHP extensions?

Centos 6.8 Final

Php 7.0.16

Directadmin control panel

yum install php-gmp

yum install php-bcmath

yum install php-intl

result is: No package xxx available.

Thank you.

Upvotes: 1

Views: 6230

Answers (1)

Paul Burilichev
Paul Burilichev

Reputation: 444

BCmath is already preinstalled with PHP. http://php.net/manual/en/bc.requirements.php

For other libs try to define repository where yum would search artifacts and then install the extension. For example,

yum --enablerepo=remi install php-intl

Another alter way is described there https://webtatic.com/packages/php70/ Take a look at the php70w-common package which includes gmp, and further just install php70w-bcmath and php70w-intl. Don't forget to enable all packages inside php.ini.

Upvotes: 1

Related Questions