gpt4 book ai didi

magento2 - Magento 2 的全新安装 - 商店加载正常,管理员登录失败并出现 CURLPROTO_HTTP 错误

转载 作者:行者123 更新时间:2023-12-02 00:41:07 33 4
gpt4 key购买 nike

在 Ubuntu 16.04 上全新手动安装 Magento2。与 sample 一起存放显示良好。带有用户和密码的管理页面也显示正常。

输入凭据并尝试登录后,获取

There has been an error processing your request error on page and "Error log record number: 714486746083".

在我安装的 Magento 的 log/report 文件夹中,我可以看到错误:

{"0":"Notice: Use of undefined constant CURLPROTO_HTTP - assumed 'CURLPROTO_HTTP' in /var/www/myserverexample.com/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php on line 50","1".."

我检查过:

sudo apt-get install php7.1-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
php7.1-curl is already the newest version (7.1.18-1+ubuntu16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 299 not upgraded

权限: magento folder screenshot有什么建议吗?

最佳答案

  • php 7.1: sudo apt-get install php7.1-curl
  • php 7.2:sudo apt-get install php7.2-curl
  • php 7.3:sudo apt-get install php7.3-curl
  • php 7.4:sudo apt-get install php7.4-curl

可能会解决您的问题

关于magento2 - Magento 2 的全新安装 - 商店加载正常,管理员登录失败并出现 CURLPROTO_HTTP 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51030079/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com