php - can't install laravel on windows using composer ,gives error failed to open Stream:Permision denied -
after installing composer tried install larvel gives errorexception .please help....
data composer cmd console:-
c:\xampp\htdocs\new>composer global require "laravel/installer" changed current directory c:/users/dell-17/appdata/roaming/composer [errorexception] file_put_contents(c:\programdata\composersetup\bin): failed open stream: permission denied require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform -reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-auto loader] [-a|--classmap-authoritative] [--] [<packages>]...
you need set correct permissions on c:\programdata\composersetup\
folder recursively (including subdirectories), installer write files in it. can use some tutorial learn how this.
Comments
Post a Comment