日安!我安装arcanist时:
git clone https://github.com/phacility/libphutil.git
git clone https://github.com/phacility/arcanist.git 但是当我做arc help时,我会遇到这样的错误:
$ arc help
PHP CONFIGURATION ERRORS
You need to install the cURL PHP extension, maybe with 'apt-get
install php5-curl' or 'yum install php53-curl' or something similar.但是我可以运行这个:curl " XXXX ",没关系。curl_init()也在运行。使用phpinfo(),我可以看到curl启用。但是我不知道为什么在执行arc命令时会出现这个错误。你能帮帮我吗?谢谢!
和系统信息:
发布于 2018-08-29 15:26:04
您需要确保为CLI启用了curl扩展(可能在/etc/php5/cli/conf.d/文件夹中)。CLI和web (mod-php或fpm)配置是分开的,所以很可能在通过web服务器使用PHP时启用扩展,但在作为CLI可执行文件运行时禁用扩展。
https://stackoverflow.com/questions/52080874
复制相似问题