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