M
M
Messi2019-12-13 09:49:49
PHP
Messi, 2019-12-13 09:49:49

MacOS and php extensions?

Hello! There is MacOS Catalina and php 7.3.9 installed. To install dependencies with composer, I need to install additionally:
PHP extension ext-redis
PHP extension ext-pcntl
PHP extension ext-intl
For example, I'll start from the last one, I tried to install with:
sudo pecl install intl, but nothing comes out due to errors:

ERROR: `/private/tmp/pear/temp/intl/configure --with-php-config=/usr/local/opt/php/bin/php-config --with-icu-dir=/usr/local/opt/icu4c/' failed

The question is, tell me, please, how to set it correctly in this system?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2019-12-13
@FitTech

forget about system puff.
homebrew and/or phpbrew will solve all your problems.
well, or some kind of mump for the lazy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question