Magento安装期间出错

时间:2016-03-04 09:52:20

标签: php magento xdebug magento2 magento-2.0

我正在尝试在我的localhost上安装Magento 2,但是在准备检查期间它给了我以下错误。

PHP Settings Check
Your current setting of xdebug.max_nesting_level=100. Magento 2 requires it to be set to 200 or more. Edit your config, restart web server, and try again.

我在整个wamp中搜索了xdebug.max_nesting_level,但没有找到任何这样的短语。打开我的php.ini文件。最后几行是这些。

[xdebug]
xdebug.remote_enable = off
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "d:/wamp/tmp"
xdebug.show_local_vars=0

所以我在它下面加了额外的一行。

xdebug.max_nesting_level = 200

但是安装仍然给我同样的错误。我该怎么办?

1 个答案:

答案 0 :(得分:1)

你重新启动了apache服务吗?

编辑:

添加' php_value xdebug.max_nesting_level 500'到你的.htaccess

相关问题