I am trying to install a new laravel instance with the following command:
composer create-project laravel/larevel authii --prefer-dist
But I am encountering the following problem:
My internet connection is on proxy server: 192.168.20.9:8080
Moreover, I am on windows platform win8.1 x64
and Xampp
with PHP 5.6.11
, any help?
Linux users can run this command to resolve this issue:
sudo sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf"
More Information
You need to tell composer to use a proxy.
Linke here: PHP Composer behind http proxy and Composer cannot download files
Like:
export HTTP_PROXY="http://my-corp-proxy.mcdonalds"
php composer.phar install
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With