Ошибка PHPIZE при попытке установить int с помощью pecl - PullRequest
0 голосов
/ 19 декабря 2018

Итак, для magento2 мне нужно установить: PHP Extension intl.

Теперь, подняв глаза, я пытаюсь это сделать, но продолжаю получать ошибки.Я использую MAC и использую XAMPP, очень плохо, когда я запускаю 'sudo pecl install int', я получаю следующую ошибку.

Starting to download intl-3.0.0.tgz (248,200 bytes)
.....done: 248,200 bytes
150 source files, building
running: phpize
Configuring for:
PHP Api Version:         20170718
Zend Module Api No:      20170718  
Zend Extension Api No:   320170718
autom4te: need GNU m4 1.4 or later: /usr/bin/m4
ERROR: `phpize' failed

Я также пытался использовать 'sudo pecl update-channel'Но это дает мне следующие сообщения:

Updating channel "doc.php.net"
Channel "doc.php.net" is not responding over http://, failed with message: File http://doc.php.net:80/channel.xml not valid (redirected but no location)
Trying channel "doc.php.net" over https:// instead
Cannot retrieve channel.xml for channel "doc.php.net" (Connection to `ssl://doc.php.net:443' failed: Connection refused)
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pear.phpunit.de"
Channel "pear.phpunit.de" is not responding over http://, failed with message: File http://pear.phpunit.de:80/channel.xml not valid (received: HTTP/1.1 404 Not Found
)
Trying channel "pear.phpunit.de" over https:// instead
Cannot retrieve channel.xml for channel "pear.phpunit.de" (Connection to `ssl://pear.phpunit.de:443' failed: )
Updating channel "pear.symfony-project.com"
Channel "pear.symfony-project.com" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date

Что я могу сделать, чтобы решить эту проблему?Я использую XAMPP с PHP 7.2

...