首先它应该是可以在SHELL中运行的,而不是单纯的浏览器中运行来应对大型,多图片网站 运行方式应该是如下:
screen -S updateimagephp update_product_images.php
screen -S updateimage
php update_product_images.php
我们来网站的根目录下,或是pub目录下来建立此文件update_product_images.php用如下代码
Magento2.x 使用Redis加速cache及Session操作实用指南教程
M2 update on save 与 Update by Schedule 有什么不同
Magento2.x安装繁体中文 chinesse 繁体语言包方法教程
Magento2开发教程NO6-Magento2开发编码规范