-1
安裝Laravel我想在選擇/ LAMPP/htdocs目錄來安裝laravel和得到這個錯誤:錯誤在Ubuntu
$ composer create-project --prefer-dist laravel/laravel blog
Installing laravel/laravel (v5.3.16)
[ErrorException]
mkdir(): Permission denied
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]
我使用Ubuntu 16.04
誰能幫助?
做,但說不要運行作曲家根/超級用戶!詳情請參閱https://getcomposer.org/root –
感謝其工作 –
更改您正在處理的目錄,因此您可以在不使用sudo的情況下執行此操作 –