我正在尝试将基本的 Laravel 应用程序部署到 Cloud Foundry。下面你可以看到我运行后的输出ibmcloud cf push:设置为的ibmcloud cf push日志可在此处找到: https://drive.google.com/file/d/1NL1KxqdJv4k0QtIrrySwb-XF_7VwFO7l/view ?usp=sharingBP_DEBUGtrue这是我的composer.json文件:{ "name": "laravel/laravel", "type": "project", "description": "The Laravel Framework.", "keywords": [ "framework", "laravel" ], "license": "MIT", "require": { "php": "^7.2.5", "fideloper/proxy": "^4.2", "fruitcake/laravel-cors": "^2.0", "guzzlehttp/guzzle": "^6.3", "laravel/framework": "^7.22.2", "laravel/telescope": "^3.5", "laravel/tinker": "^2.0", "laravel/ui": "^2.1" }, "require-dev": { "facade/ignition": "^2.0", "fzaninotto/faker": "^1.9.1", "mockery/mockery": "^1.3.1", "nunomaduro/collision": "^4.1", "phpunit/phpunit": "^8.5" }, "config": { "optimize-autoloader": true, "preferred-install": "dist", "sort-packages": true }, "extra": { "laravel": { "dont-discover": [] } }, "autoload": { "psr-4": { "App\\": "app/" }, "classmap": [ "database/seeds", "database/factories" ] }, "autoload-dev": { "psr-4": { "Tests\\": "tests/" } }, "minimum-stability": "dev", "prefer-stable": true, "scripts": { "post-autoload-dump": [ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", "@php artisan package:discover --ansi" ], "post-root-package-install": [ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "@php artisan key:generate --ansi" ] }}这是我的options.json文件:{ "PHP_VERSION": "{PHP_70_LATEST}", "COMPOSER_VENDOR_DIR": "vendor", "WEBDIR": "public"}我已经寻找这个问题的解决方案很长一段时间了,但我找不到任何可以帮助我的东西。我希望这里的人有更好的运气并能找到解决方案......非常感谢任何帮助:)
添加回答
举报
0/150
提交
取消