xDebug update
Posted by: Castspeller (---.hsd1.ca.comcast.net)
Date: November 29, 2024 05:37PM

Greeting,

I just updated xDebug and noticed something odd. In Php v8.4.1 there is a beta version of xDebug 3.4.0 - filename is "php_xdebug-3.4.0beta1-8.4-x86_64.dll", there is also "php_xdebug-3.4.0-8.4-vs17-x86_64.dll".

When I run in WampServer->Tools->Check for unused xDebug DLLs, neither show up to be removed.

Thoughts?

Cheers

Options: ReplyQuote
Re: xDebug update
Posted by: Otomatic (Moderator)
Date: November 29, 2024 08:04PM

Hi,

Nothing strange there!

If you look for PHP 8.4.0 or 8.4.1 in Left-Click -> PHP -> PHP extensions, you'll see that the xDebug extension is not active (unchecked).
After the xDebug 3.4.0 update, if you enable the xDebug extension, the xdebug 3.4.0 DLL will be loaded.

You can then clean up unnecessary xDebug dlls by right-clicking -> Tools -> Check for unused xDebug dlls.

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

Options: ReplyQuote
Re: xDebug update
Posted by: Castspeller (---.hsd1.ca.comcast.net)
Date: November 30, 2024 12:01AM

In Tools, Php 8.4.1 does not have a checkbox by xDebug and only shows the beta version. In the file system both files show. If I perform Check for unused xDebug it show nothing to remove.

The question I have is how did a beta version get there in the first place? Can you please check the Php 8.4.1 and xDebug installers - I have not manually added anything.

To replicated what I have done my installation went like this - I did a clean Install (Full Installer) of WampServer 3.3.7, no other WampServer installations on the machine. Installed MariaDB 11.4.4, and Php 8.4.1. Switched MariaDB to be default. Removed Php 8.4.0 and MySQL. Install xDebug 3.4.0 and found the beta version in "\bin\php8.4.1\zend_ext"

Thank you for the help.

Options: ReplyQuote
Re: xDebug update
Posted by: Otomatic (Moderator)
Date: November 30, 2024 08:35AM

> Removed Php 8.4.0 and MySQL.
How ?

The xDebug 3.4.0beta version is installed with Wampserver 3.3.7 and PHP 8.4.0 as well as with the PHP 8.4.1 addon, but is not activated in PHP extensions.

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

Options: ReplyQuote
Re: xDebug update
Posted by: Otomatic (Moderator)
Date: November 30, 2024 09:57AM

Hi,

As a matter of conscience, I completely uninstalled Wampserver, rebooted the machine, installed Wampserver 3.3.7, Mariadb 11.4.4 and PHP 8.4.1.
Then I deleted PHP 8.4.0, of course via right-click Tools, Delete unused versions and quit Wampserver.

I then ran the xDebug 3.4.0 update and started Wampserver.

Left-click -> PHP 8.4.1 -> PHP extensions shows xdebug 3.4.0 unchecked under Zend Extensions.

The folder e:\wamp64\bin\php8.4.1\zend_ext\ contains :
php_xdebug-3.4.0beta1-8.4-x86_64.dll
php_xdebug-3.4.0-8.4-vs17-x86_64.dll

and the procedure Right-Click -> Tools -> Check unused xDebug has to be modified, I grant you, because it doesn't take PHP 8.4.x into account, but that doesn't alter the way Wampserver works.

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

Options: ReplyQuote
Re: xDebug update
Posted by: Castspeller (---.hsd1.ca.comcast.net)
Date: November 30, 2024 04:19PM

Thank you for confirming. I use remove unused versions to remove Php and MySQL smiling smiley

So what I understand is WampServer will not remove the beta version and I need to do that manually? Am I correct?

Options: ReplyQuote
Re: xDebug update
Posted by: Otomatic (Moderator)
Date: November 30, 2024 04:36PM

Hi,

You can delete the beta version manually, but there's no harm in leaving it.

Will be fixed with Wampserver 3.3.8 update.

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

Options: ReplyQuote
Re: xDebug update
Posted by: Castspeller (---.hsd1.ca.comcast.net)
Date: November 30, 2024 08:38PM

Great - thank you for the clarification.

Options: ReplyQuote


Sorry, only registered users may post in this forum.