首页 > 解决方案 > localhost/magento 访问错误(找不到对象)

问题描述

当我尝试访问localhost/magento通过 CMD 安装 Magento 2 后,发生找不到对象错误。安装命令:

php bin/magento setup:install --base-url=”http://localhost/magento" --db-host=”localhost” --db-name=”magento" --db-user=”root” --db-password=”” --admin-firstname=”admin” --admin-lastname=”admin” --admin-email=”user@example.com” --admin-user=”admin” --admin-password=”admin123" --use-rewrites=”1" --backend-frontname=”admin”

在浏览器上访问localhost/magento时出现此错误: 在此处输入图像描述

标签: phpapachexampplocalhostmagento2

解决方案


推荐阅读