I am trying running laravel in my computer, but I have some difficults to install this resource in my machine, follow below a little bit of error in terminal of linux
All settings correct for using Composer
Downloading...
Could not create file /var/www/html/composer.phar: fopen(/var/www/html/composer.phar): failed to open stream: Permission denied
Download failed: fopen(/var/www/html/composer.phar): failed to open stream: Permission denied fwrite() expects parameter 1 to be resource, boolean given
Downloading...
Could not create file /var/www/html/composer.phar: fopen(/var/www/html/composer.phar): failed to open stream: Permission denied
Download failed: fopen(/var/www/html/composer.phar): failed to open stream: Permission denied
fwrite() expects parameter 1 to be resource, boolean given
Downloading...
Could not create file /var/www/html/composer.phar: fopen(/var/www/html/composer.phar): failed to open stream: Permission denied
Download failed: fopen(/var/www/html/composer.phar): failed to open stream: Permission denied
fwrite() expects parameter 1 to be resource, boolean given
The download failed repeatedly, aborting.
alexander@alexander:/var/www/html$
You can check your installed composer version using a command composer -v at the current path. Such as: composer -v.
I used sudo as follows:
sudo curl -sS https://getcomposer.org/installer | sudo php
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