0

我正在尝试使用 MAMP 2.1.3 版在 OSX 10.8 上安装 PECL Oauth 扩展。这个版本的 MAMP 有 PHP 5.4.10 和 5.2.17,我已经将这些东西添加到 5.2.17 的包含文件夹并运行 ./configure。虽然当我去跑步

cd /Applications/MAMP/bin/php/php5.2.17/bin; ./pecl install oauth

我明白了

downloading oauth-1.2.3.tgz ...
Could not download from "http://pecl.php.net/get/oauth-1.2.3.tgz", cannot download "pecl/oauth" (could not open /tmp/pear/install/oauth-1.2.3.tgz for writing)
Error: cannot download "pecl/oauth"
Download failed
install failed

现在我不能 100% 确定 MAMP 使用的是 5.2.17 版本的 PHP,我已经在 apache httpd.conf 文件中对其进行了更改,当我查看 MAMP 中的 phpinfo 页面时,它显示为使用版本 5.2.17 所以我不认为这是问题所在。

4

0 回答 0