S
S
Silverviql2018-07-23 09:14:01
Nginx
Silverviql, 2018-07-23 09:14:01

When starting a site on nginx, yii kernel errors fall out, what could be the problem?

FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/yii/crmtest/vendor/yiisoft/yii2/helpers/BaseArrayHelper.php on line 123
PHP message: PHP Fatal error: Uncaught exception 'yii\base\InvalidConfigException' with message 'The "id" configuration for the Application is required.' in /var/www/yii/crmtest/vendor/yiisoft/yii2/base/Application.php:219
Stack trace:
#0 /var/www/yii/crmtest/vendor/yiisoft/yii2/base/Application.php(201 ): yii\base\Application->preInit(Array)
#1 /var/www/yii/crmtest/frontend/web/index.php(17): yii\base\Application->__construct(Array)
#2 {main }
thrown in /var/www/yii/crmtest/vendor/yiisoft/yii2/base/Application.php on line 219" while reading response header from upstream, client: 127.0.0.1, server: mysite.test, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php5.6-fpm.sock:", host: "127.0.0.1"

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis, 2018-07-23
@notwrite

Not configured.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question