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

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.7 32 bit - Apache 2.4.51 - PHP 8.1.0…5.6.40 - MySQL 5.7.36 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.7 64 bit - Apache 2.4.51 - PHP 8.1.0…5.6.40 - MySQL 5.7.36/8.0.27 - MariaDB 10.5.13/10.6.5
PhPMyadmin 5.1.1 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote


Sorry, only registered users may post in this forum.