我在这里遵循指南(https://stackoverflow.com/a/7002008/1346932)在MAMP PRO中安装PHP OAuth扩展(使用MAMP PRO的2.2版本和PHP的5.3.27版本)。
当我进入指南的第3步并尝试运行./configure
时,我得到以下错误:
-bash: ./configure: No such file or directory
有什么办法让它发挥作用吗?
听起来您不在正确的目录中。如果您单独运行这些命令,这应该会起作用,比如。。。
cd /Applications/MAMP/bin/php/php5.2.17/include/php
然后
./configure
当然,这是假设您已经将文件解压缩到与步骤2中相同的文件夹中。