我已经从这个svn repo检查了laravel项目。现在,当我运行php artisan serve
composer update
或composer install
命令
脚本php artisan clear-compiled处理带有错误的
返回的pre-update-cmd事件 [RuntimeException]
Error Output: PHP Warning: require(/osmall/trunk/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /trunk/bootstrap/autoload.php on line 17
PHP Fatal error: require(): Failed opening required '/osmall/trunk/bootstrap/../vendor/autoload.php'(include_path='.:/usr/share/php') in /osmall/trunk/bootstrap/autoload.php on line 17
如果我运行php composer.phar install
命令
Script php artisan clear-compiled handling the pre-update-cmd event returned with error code 255
如果我执行composer dump-autoload -o
然后运行更新或安装命令,那么
Script php artisan clear-compiled handling the pre-update-cmd event returned with an error
[RuntimeException]
Error Output: PHP Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in /osmall/trunk/bootstrap/app.php:14
Stack trace:
#0 /osmall/trunk/artisan(18): require_once()
#1 {main}
thrown in /osmall/trunk/bootstrap/app.php on line 14
附加信息
1.我的作曲家版本是1.0.0-beta2
我安装了php 5.6和7。
3.我正在运行ubuntu
请有人帮助我。