remote: PHP Fatal error: require(): Failed opening required '/var/lib/openshift/5707de542d52712b1100001c/app-root/runtime/repo/bootstrap/../vendor/autoload.php' (include_path='.:/var/lib/openshift/5707de542d52712b1100001c/app-root/runtime/repo/lib:/var/lib/openshift/5707de542d52712b1100001c/app-root/runtime/repo/libs:/var/lib/openshift/5707de542d52712b1100001c/app-root/runtime/repo/libraries:/var/lib/openshift/5707de542d52712b1100001c/app-root/runtime/repo/src:/var/lib/openshift/5707de542d52712b1100001c/app-root/runtime/repo/vendor:/var/lib/openshift/5707de542d52712b1100001c/app-root/runtime/repo/vendors:/var/lib/openshift/5707de542d52712b1100001c/php/phplib/pear/pear/php:/usr/share/pear') in /var/lib/openshift/5707de542d52712b1100001c/app-root/runtime/repo/bootstrap/autoload.php on line 17
remote: -------------------------
remote: Git Post-Receive Result: failure
remote: Activation status: failure
remote: Activation failed for the following gears:
remote: 5707de542d52712b1100001c (Error activating gear: CLIENT_ERROR: Failed to execute action hook 'deploy' for 5707de542d52712b1100001c application php
remote: #<IO:0x000000008043a0>
remote: #<IO:0x00000000804328>
remote: )
remote: Deployment completed with status: failure
remote: postreceive failed
答案 0 :(得分:0)
您的回购协议中似乎没有/vendor/autoload.php
:
require(): Failed opening required '/var/lib/openshift/5707de542d52712b1100001c/app-root/runtime/repo/bootstrap/../vendor/autoload.php' (...) in /var/lib/openshift/5707de542d52712b1100001c/app-root/runtime/repo/bootstrap/autoload.php
答案 1 :(得分:0)
如果您是第一次部署应用程序,则需要运行composer install
脚本来安装供应商软件包。使用命令行执行此操作:
composer install
这将安装laravel框架和项目使用的其他依赖项。