magento 2 添加新产品时出现 500 内部服务器错误

问题描述 投票:0回答:1

我的产品有很多属性,添加后创建了40000多个子产品。我的网站在那之后就崩溃了。谁能帮我?我编辑了

php.ini
文件:
memory_limit = 62800M;
max_input_vars = 10000;
max_input_time = -1;
。但还是不行 Img1 Img2

database magento magento2 product internal-server-error
1个回答
0
投票

确保您的 MySQL 和服务器配置根据您的 Magento 版本进行优化。 https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/system-requirements.html

针对大型数据集优化 MySQL 配置。根据您的目录大小和服务器功能调整 innodb_buffer_pool_size 和 max_allowed_packet 等设置。

您已设置 max_input_time = -1,还值得检查 php.ini 文件中的 PHP 执行时间限制 (max_execution_time)。如有必要,将其设置为更高的值。您可能还需要调整 Web 服务器超时设置。

© www.soinside.com 2019 - 2024. All rights reserved.