Magento 2.1.18 is the final 2.1.x release. After June 2019, Magento 2.1.x will no longer receive security patches, quality fixes, or documentation updates.
To maintain your site's performance, security, and PCI compliance, upgrade to the latest version of Magento.

During installation, xdebug maximum function nesting level error

Details

During the installation, a message similar to the following displays:

1
PHP Fatal error: Maximum function nesting level of '100' reached, aborting! in <path>/ClassLoader.php

Solution

There is a known issue with xdebug that can affect Magento installations or access to the storefront or Magento Admin after installation.

For details, see Known issue with xdebug.

Updated