Php 如何通过Laravel在Google云应用程序引擎上托管Lumen

Php 如何通过Laravel在Google云应用程序引擎上托管Lumen,php,laravel,google-app-engine,google-cloud-platform,gcloud,Php,Laravel,Google App Engine,Google Cloud Platform,Gcloud,我正试图在Laravel在Lumen构建的谷歌云应用引擎上托管我的投资组合网站 正如您所知,Lumen使用此命令php-S localhost:8000-t public服务,而Laravels使用php artisan服务 这是我的应用程序 runtime: php73 env_variables: APP_KEY: "Already Get this from ENV" APP_STORAGE: /tmp VIEW_COMPILED_PATH: /tmp

我正试图在Laravel在Lumen构建的谷歌云应用引擎上托管我的投资组合网站

正如您所知,Lumen使用此命令
php-S localhost:8000-t public
服务,而Laravels使用
php artisan服务

这是我的应用程序

runtime: php73

env_variables:
  APP_KEY: "Already Get this from ENV"
  APP_STORAGE: /tmp
  VIEW_COMPILED_PATH: /tmp

现在我收到
HTTP错误500

这是预部署吗?还是部署后?当此操作失败时,您在浏览器中输入的HTTP url是什么?我问,因为可以测试,或者。请记住,您的Yaml主要是在线配置。因为我使用谷歌云应用程序引擎,所以它会自动生成URL。也就是说,我以为您在使用上面的“localhost”。如果您在部署后(联机)进行测试,应用程序引擎日志将显示有关500错误问题的更多信息。您可以导航到StackDriver Logging>Logs Viewer,或Trace>Overview,或使用/command。否则,您可能需要打开一张支持票,因为有太多的可能性,问题需要进一步缩小。