WampServer Fatal error - Maximum function nesting level
Jump to navigation
Jump to search
You may get this error message on a Windows configuration only (e.g. WampServer).
Error message:
"Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\wamp64\www\tng\tngconnect.php on line 157"
The error message is misleading (tngconnect.php) as this is a problem with the Windows PHP XDEBUG Extension (php_xdebug-x.x.x-x.x-vcxx.dll). The problem may be fixed by changing a line in the configuration file php.ini located in the Apache directory.
Finding php.ini configuration file
Edit file php.ini located in this directory:
[Your Wamp Directory]\bin\apache\[Apache Directory]\bin\php.ini
(e.g. C:\wamp\bin\apache\apache2.4.27\bin)
Editing php.ini configuration file
Look for section [xdebug], and comment this line with a semicolon (;).
- zend_extension ="c
- /wamp64/bin/php/php5.6.31/zend_ext/php_xdebug-2.5.5-5.6-vc11-x86_64.dll"
This will prevent the XDEBUG Extension to load.