Magento 2 Installation Fatal Error - Cannot instantiate interface
vi nginx.conf
root $MAGE_ROOT/pub;
setup/index.php/navigation' has been denied (see security.limit_extensions)" while reading response header from upstream:
vi nginx.conf
location /setup {
root $MAGE_ROOT;
location ~ ^/setup/index.php {
### This fixes the problem:
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
################################
}
}
css and js 404:
php bin/magento setup:static-content:deploy
php bin/magento setup:static-content:deploy 'zh_Hans_CN'
导入中文翻译文件:
https://github.com/Magento2Translations/language_zh_hans_cn
Upload the contents to /app/i18n/magento2translations/zh_Hans_CN.
The files should then be located like this /app/i18n/magento2translations/zh_Hans_CN/zh_Hans_CN.csv.
Go to your Magento admin panel and clear the caches.
Configure Magento to use memcached:
1.Open /app/etc/env.php in a text editor.
2.Locate the following:
'session' =>
array (
'save' => 'files',
),
3.Change it as follows:
PHP memcached extension
'session' =>
array (
'save' => 'memcached',
'save_path' => ':'
),
Verify memcached is working with Magento:
1.Delete the contents of the following directories under your Magento installation directory:
rm -rf var/cache/* var/page_cache/* var/session/*
2.Go to any page on the storefront.
3.Log in to the Magento Admin and browse to several pages.
If no errors display, congratulations! memcached is working! You can optionally look at memcached storage as discussed in the next step.