xdebug.max_nesting_level won't change to 256
Posted by: benia (---.red.bezeqint.net)
Date: November 25, 2015 03:52PM

I went to php.ini and added in the end of file (under the last row of Xdebug) this: xdebug.max_nesting_level=256 saved, refreshed wamp, restarted all wamp services.

Yet when I ran phpinfo() It seems to be setted to 100 (as default), as can be seen from the following table. This problem didn't occur in another PC, in which I did the exact pattern of activities...

---

Directive Local Value Master Value
xdebug.auto_trace Off Off
xdebug.cli_color 0 0
xdebug.collect_assignments Off Off
xdebug.collect_includes On On
xdebug.collect_params 0 0
xdebug.collect_return Off Off
xdebug.collect_vars Off Off
xdebug.coverage_enable On On
xdebug.default_enable On On
xdebug.dump.COOKIE no value no value
xdebug.dump.ENV no value no value
xdebug.dump.FILES no value no value
xdebug.dump.GET no value no value
xdebug.dump.POST no value no value
xdebug.dump.REQUEST no value no value
xdebug.dump.SERVER no value no value
xdebug.dump.SESSION no value no value
xdebug.dump_globals On On
xdebug.dump_once On On
xdebug.dump_undefined Off Off
xdebug.extended_info On On
xdebug.file_link_format no value no value
xdebug.idekey no value no value
xdebug.max_nesting_level 100 100
xdebug.overload_var_dump On On
xdebug.profiler_aggregate Off Off
xdebug.profiler_append Off Off
xdebug.profiler_enable Off Off
xdebug.profiler_enable_trigger Off Off
xdebug.profiler_output_dir c:/wamp/tmp c:/wamp/tmp
xdebug.profiler_output_name cachegrind.out.%t.%p cachegrind.out.%t.%p
xdebug.remote_autostart Off Off
xdebug.remote_connect_back Off Off
xdebug.remote_cookie_expire_time 3600 3600
xdebug.remote_enable Off Off
xdebug.remote_handler dbgp dbgp
xdebug.remote_host localhost localhost
xdebug.remote_log no value no value
xdebug.remote_mode req req
xdebug.remote_port 9000 9000
xdebug.scream Off Off
xdebug.show_exception_trace Off Off
xdebug.show_local_vars Off Off
xdebug.show_mem_delta Off Off
xdebug.trace_enable_trigger Off Off
xdebug.trace_format 0 0
xdebug.trace_options 0 0
xdebug.trace_output_dir \ \
xdebug.trace_output_name trace.%c trace.%c
xdebug.var_display_max_children 128 128
xdebug.var_display_max_data 512 512
xdebug.var_display_max_depth 3 3

Options: ReplyQuote
Re: xdebug.max_nesting_level won't change to 256
Posted by: Otomatic (Moderator)
Date: November 25, 2015 04:35PM

Hi,

Don't you think you need to take you by the hand and look for yourself. Especially that it is in no way a problem with Wampserver
It's still not the end of the world to see on the xdebug website, documentation, All settings.

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.

And since it works on a PC and not the other, you have not had the idea to compare Xdebug versions?

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: xdebug.max_nesting_level won't change to 256
Posted by: benia (---.red.bezeqint.net)
Date: November 25, 2015 05:12PM

I think I didn't understand your answer: I haven't really learned PHP yet, and have no serious understanding of the phrase "xdebugger" besides knowing it's a PHP debugger. I checked that on another PC befroe 3 days and all work. I thought I should bring this to your note. Have no idea what to do with this and some guys hadn't so I asked here. You might agree to tell me what exactly needs to be changed? Just once? I won't ask anything related to this here again, but If it's okay this time, I'll thank you, because I didn't understand from your last answer...

Options: ReplyQuote
Re: xdebug.max_nesting_level won't change to 256
Posted by: Otomatic (Moderator)
Date: November 25, 2015 05:56PM

Hi,

What is the version of xdebug dll ?
For Wampserver 2.5, it :
wamp\bin\php\php5.5.12\zend_ext\php_xdebug-2.2.5-5.5-vc11.dll

Version is 2.2

Go to [xdebug.org] and download php_xdebug-2.3.3-5.5-vc11.dll

Put this dll into wamp\bin\php\php5.5.12\zend_ext\ and modify the loading line in php.ini to write the right name.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: xdebug.max_nesting_level won't change to 256
Posted by: benia (---.red.bezeqint.net)
Date: November 26, 2015 07:38PM

Should I use a Thread safe or non thread safe dll file? Ben,

Options: ReplyQuote
Re: xdebug.max_nesting_level won't change to 256
Posted by: Otomatic (Moderator)
Date: November 26, 2015 08:22PM

Hi,

For Windows, always Thread Safe for all things: PHP extensions, dll, New versions, etc.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.