Tag: zend expressive

在Zend Expressive项目的树中找不到关键的“csrf”

我有一个运行Docker的Zend Expressive应用程序。 通常这个项目运行,但是当我把它添加到一个bitbucket存储库,然后git克隆它,用docker构build,然后去localhost:8000它给了我这个错误: [![在这里input图片描述] [1]] [1] 奇怪的部分是,我有一个确切的复制本地工作,但如果其上传到一个存储库,然后git克隆,并尝试运行它给出了这个错误。 我不确定是什么原因造成的,网上也没有关于这个错误的信息。 我要显示一些configuration文件,因为我甚至不知道我应该显示什么: 泊坞窗: version: '3' services: php: build: ./docker/php depends_on: – postgres – redis volumes: – .:/var/www/html nginx: image: nginx:1.11 depends_on: – php ports: – '8000:80' volumes: – ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf – .:/var/www/html postgres: image: postgres:9.6 ports: – '5438:5432' volumes: – 'postgres-data:/var/lib/postgresql/data' redis: image: redis:3.2 build: build: ./docker/build volumes: – […]