If you run a website on nginx drop error yii core, 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
#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)
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"
In the end, I put apache2 configured , the site has started, at some point, the same error came out ,that instead of the site displayed only the text in the etc/php/php5.6/apache2 in the confit I put the php file.ini to increase file upload database to phpmyadmin. I thought maybe the php file.ini I put in the config ,removed it and the site started to work normally. ( the main php file.ini which is in the folder cli when you change the amount of data to download the files in phpmyadmin did not respond) where I was still picked in the end when I turned off Apache , the site was already working on nginx ....