xdebug 3.1.1 fails to start
Posted by: theking2 (---.dyn.cable.fcom.ch)
Date: October 25, 2021 09:08PM

After updating from xdebug 3.0.4 to 3.1.1 xdebug fails to start on php 7.4.9.

In apache_error.log:


Failed loading c:/wamp/bin/php/php7.4.9/zend_ext/php_xdebug-3.1.1-7.4-vc15-x86_64.dll

Options: ReplyQuote
Re: xdebug 3.1.1 fails to start
Posted by: Otomatic (Moderator)
Date: October 26, 2021 09:33AM

Hi,

You will understand that it is not possible for me to verify that xdebug3.1.1 works correctly on all versions of PHP :
- 34 versions 7.2
- 31 versions 7.3
- 25 versions 7.4
- 12 versions 8.0
which by the way is not my responsibility but theoretically xDebug's.

In the phpForApache.ini file of PHP 7.4.9 go back to the original version of xDebug: 2.9.6

- Left-click -> PHP -> php.ini

and replace the entire [xdebug] section with the lines below, of course using your own installation path:
; XDEBUG Extension
[xdebug]
zend_extension="c:/wamp64/bin/php/php7.4.9/zend_ext/php_xdebug-2.9.6-7.4-vc15-x86_64.dll"
xdebug.remote_enable = off
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = Off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir ="c:/wamp64/tmp"
xdebug.show_local_vars=0

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.