duanchui1279 2018-08-29 15:12
浏览 524

带有PHP配置错误的arcanist arc帮助命令

good day! I installed arcanist with:

git clone https://github.com/phacility/libphutil.git
git clone https://github.com/phacility/arcanist.git 

but when I'm doing arc help, I get error like this:

$ 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.

but I can run this: curl " XXXX ", it's ok. and curl_init() also is run . with phpinfo(), I can see curl enable. But I don't know why get this error when I'm doing arc command. Can you help me? Thanks!

and system information:

  • my php version : 5.6.3
  • vagrant box on mac
  • 写回答

1条回答 默认 最新

  • dongtanzhu5417 2018-08-29 15:26
    关注

    You need to make sure curl extension is enabled for CLI SAPI (likely in /etc/php5/cli/conf.d/ folder). CLI and web (mod-php or fpm) configurations are separate, so it very well may happen that extension is enabled when PHP is used through web server, but disabled when you run in as a CLI executable.

    评论

报告相同问题?

悬赏问题

  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料