微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

localhost/magento 访问错误找不到对象

如何解决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 时发生此错误enter image description here

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。