我正在运行 Laravel 5.4 项目,并托管在谷歌云项目下。为了测试我使用过的相同,dev_appserver.py app.yaml --runtime=php55
它启动了程序,但它抛出了显示的错误
Warning: require(/Users/Avi/Documents/.../website/PLACEHOLDER): failed to open stream: No such file or directory in /Users/Avi/Downloads/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/php/setup.php on line 147
Fatal error: require(): Failed opening required '/Users/Avi/Documents/.../website/PLACEHOLDER' (include_path='.:/Users/Avi/Documents/.../website:/Users/Avi/Downloads/google-cloud-sdk/platform/google_appengine/php/sdk') in /Users/Avi/Downloads/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/php/setup.php on line 147
应用程序.yaml
runtime: custom
env: flex
runtime_config:
document_root: public
# Ensure we skip ".env", which is only for local development
skip_files:
- .env
env_variables:
# Put production environment variables here.
APP_LOG: errorlog
APP_KEY: base64:...
STORAGE_DIR: /tmp
CACHE_DRIVER: file
SESSION_DRIVER: file
我无法弄清楚什么是“PLAEHOLDER”以及如何解决错误,以便可以在本地托管以下 laravel 项目以进行开发阶段。
TIA