3
为什么不更新Composer?
我正在使用Ubuntu 16.04 LTS amd64。我已经安装了LAMP(php5.6,apache2,mysql)和Composer。我从github下载了laravel项目。我想更新Composer以启动本地服务器php artisan serve。但是,当我想运行时localhost,终端会说: heartprogrammer@heartprogrammer-desktop:/var/www/kstu$ php artisan serve PHP Warning: require(/var/www/kstu/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/kstu/bootstrap/autoload.php on line 17 PHP Fatal error: require(): Failed opening required '/var/www/kstu/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/kstu/bootstrap/autoload.php on line 17 我尝试更新Composer,但是它说: heartprogrammer@heartprogrammer-desktop:/var/www/kstu$ composer update Loading composer repositories with package …