Drupal installation: set xdebug.max_nesting_level = 256 in your PHP configuration

I follow the tutorial here https://www.youtube.com/watch?v=h5i6emqdOgg

Between the installation, I get this page where it shows that some requirements are missing. One of them saysSet xdebug.max_nesting_level=256 in your PHP configuration

I went to C:\wamp\www\sampleWebSite\sites\defaultthat has:

  • files
  • default.services.yml
  • default.settings.php
  • settings.php

I opened settings.phpto see the settings xdebug, but there he was absent. So I added a line there xdebug.max_nesting_level=256, and then refreshed the page, and the page gave me an error, so I went to the same file again settings.phpand changed it $settings['xdebug.max_nesting_level'] = 256;, now there is no error, but the page still shows that the setting is xdebugnot set to 256.

How to fix it?

enter image description here

+4
2

xdebug.max_nesting_level = 256 php.ini settings.php

:

  • phpinfo.php

    <?
    php phpinfo();
    ?>
    
  • , YouTube, .. drupal

  • wampserver . . enter image description here

  • php.ini, xdebug

  • xdebug . enter image description here

  • Wamp-.

enter image description here

  1. " ", .
+7

php.ini, php xdebug.ini:

xdebug.max_nesting_level = 256

php.ini wamp phpinfo() php .

.

0

Source: https://habr.com/ru/post/1621406/


All Articles