专注于Magento开发与外贸SEO推广
Magento主题|Magento插件|Magento教程

Deprecated: The each() function is deprecated.

Magento 2.2.3 安装出现错误Deprecated: The each() function is deprecated.

使用的PHP版本为PHP7.1 和7.2

Warning: each() has been disabled for security reasons in /vendor/colinmollenhour/cache-backend-file/File.php on line 81

尝试禁用函数each() , 没能得到解决

参考之前的PHP配置

disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

直接替换,得到解决。

 

 

 

未经允许不得转载:Magento|Magento2|magento开发|magento插件|magento主题|magento模板|magento商城|magento维护 » Deprecated: The each() function is deprecated.
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

Magento开发|Magento咨询QQ283475615

联系我们