Hello,
I got these issues when trying to setup Magento in my local machine using Nginx:
- Magento 2.x:
- Cannot instantiate interface
- FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot
instantiate interface
Magento\Framework\App\Config\Scope\ReaderPoolInterface in
/xxx/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php
on line 73" while reading response header from upstream, client:
127.0.0.1, server: my-magento.com, request: "GET / HTTP/1.1", upstream:
"fastcgi://unix:/run/php/php5.6-fpm.sock:", host: "my-magento.com"
- Modify the sample nginx config file you have been included in your virtual host:
- From:
- location ~* ^/setup($|/) {
- To:
- security.limit_extensions
- "Access to the script '/xxx/setup/index.php/session/prolong' has been denied (see security.limit_extensions)"
- Magento 1.x:
Good luck!