Fix PECL extension installation on darwin

This commit is contained in:
Shivam Mathur
2019-09-19 15:54:11 +05:30
parent 601f50f55e
commit db44db4b97
3 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,7 @@ else
fi
ini_file=$(php --ini | grep "Loaded Configuration" | sed -e "s|.*:s*||" | sed "s/ //g")
sudo chmod 777 $ini_file
mkdir -p $(pecl config-get ext_dir)
curl -sS https://getcomposer.org/installer | php
chmod +x composer.phar
mv composer.phar /usr/local/bin/composer