Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

andyscraven's avatar

@blackbird I am having the same issue. I added the xdebug.max_nesting_level = 500 in to the /etc/php5/cli/conf.d/20-xdebug.ini file inside Homestead but I still have the issue.

Like you I am using PHPStorm. Which php.ini file did you add the line to?

andyscraven's avatar

Hmmm!! It is definitely in my file but I am still getting the error.

I still get:

[Symfony\Component\Debug\Exception\FatalErrorException]
Maximum function nesting level of '100' reached, aborting!

Very odd!

ChrisB's avatar

@andyscraven If you can't successfully edit the correct .ini file, you can alternatively put this as the top line of /features/bootstrap/FeatureContext.php:

<?php
ini_set('xdebug.max_nesting_level', 500);
Previous

Please or to participate in this conversation.