Known issues that affect xdebug installation

This article provides a solution for when you experience an exception error when you use the optional PHP extension xdebug.

  • During installation
  • Accessing either the Commerce Admin or storefront after a successful installation

Sample exception:

Fatal error: Maximum function nesting level of '100' reached, aborting!

To resolve this issue, you can:

  • Disable the xdebug extension.
  • Set the value of xdebug.max_nesting_level to a value of 200 or more. For more information, see xdebug documentation.

After you change the configuration of or disable xdebug, restart Apache:

  • CentOS: sudo service httpd restart
  • Ubuntu: sudo service apache2 restart