Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568248 - dev-php/xdebug/xdebug-2.4.0_rc2: please increase max_nesting_level to 256
Summary: dev-php/xdebug/xdebug-2.4.0_rc2: please increase max_nesting_level to 256
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-14 15:30 UTC by Tomáš Mózes
Modified: 2016-03-22 18:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2015-12-14 15:30:46 UTC
According to doc http://xdebug.org/docs/all_settings#max_nesting_level:

xdebug.max_nesting_level
Type: integer, Default value: 256

Controls the protection mechanism for infinite recursion protection. The value of this setting is the maximum level of nested functions that are allowed before the script will be aborted.

Before Xdebug 2.3, the default value was 100.

Currently in https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-php/xdebug/xdebug-2.4.0_rc2.ebuild we have:
php-ext-source-r2_addtoinifiles "xdebug.max_nesting_level" '"100"'

Can we please adjust to 256?
Comment 1 Brian Evans (RETIRED) gentoo-dev 2016-03-22 14:30:02 UTC
Done with version 2.4.0
Comment 2 Tomáš Mózes 2016-03-22 18:49:32 UTC
Thank you