Ali Zia
Ali Zia

Reputation: 3875

Error during Magento Installation

I am trying to install Magento 2 on my localhost but it is giving me the following error during readiness check.

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.

I searched for xdebug.max_nesting_level in my entire wamp but did not found any such phrase. Opened my php.ini file. The last lines were these.

[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

So I added extra line below it.

xdebug.max_nesting_level = 200

But Installation is still giving me same error. What should I do?

Upvotes: 0

Views: 469

Answers (1)

Thomas Van Beveren
Thomas Van Beveren

Reputation: 103

Did you restart your apache service?

Edit:

Add 'php_value xdebug.max_nesting_level 500' to your .htaccess

Upvotes: 1

Related Questions