I'm using mac and xampp and trying to install php package intl for using phpdocumentor as required. I follow this instruction to install: Installing Intl package on your mac with xampp
我正在使用mac和xampp并尝试安装php包intl以根据需要使用phpdocumentor。我按照此说明安装:使用xampp在Mac上安装Intl软件包
But when I was trying to install intl with pecl, it gave me error:
但是当我尝试使用pecl安装intl时,它给了我错误:
No releases available for package "pecl.php.net/intl"
install failed
I have searched for solution and try to upgrade pear/pecl but it turned to "unsupported protocol". I also tried to changes /PEAR/REST.php as one solution but it also didn't work. Did anyone face the same problem and solved. Can you help me T_T
我已经搜索了解决方案并尝试升级pear / pecl,但它转向“不支持的协议”。我也尝试将/PEAR/REST.php更改为一个解决方案,但它也没有用。有没有人面临同样的问题并解决了。你能帮我T_T吗?
1 个解决方案
#1
Probably some problem with old channels and/or old protocols.
旧渠道和/或旧协议可能存在一些问题。
First look at the log (as cweiske said).
首先看一下日志(如cweiske所说)。
pecl -vvv install intl
Then you can simply try to upgrade PEAR, PECL and update channels
然后您可以简单地尝试升级PEAR,PECL和更新频道
pear upgrade
pecl upgrade
pecl channel-update
And install intl again
然后再次安装intl
pecl install intl
#1
Probably some problem with old channels and/or old protocols.
旧渠道和/或旧协议可能存在一些问题。
First look at the log (as cweiske said).
首先看一下日志(如cweiske所说)。
pecl -vvv install intl
Then you can simply try to upgrade PEAR, PECL and update channels
然后您可以简单地尝试升级PEAR,PECL和更新频道
pear upgrade
pecl upgrade
pecl channel-update
And install intl again
然后再次安装intl
pecl install intl