mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-08-17 02:54:40 +07:00
Fix PECL extension installation on darwin
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user