关于symfony报错: Oops An Error Occurred ,The server returned a “500 Internal Server Error“

symfony3.4
开发环境正常,生产环境访问任何路由都报错:
Oops! An Error Occurred
The server returned a "500 Internal Server Error".

解决办法:清除缓存
  php bin/console cache:clear --env=prod

posted @ 2019-03-18 14:45  我的五年  阅读(12)  评论(0)    收藏  举报  来源