xdebug-var-dump - php 7.1.9 - wamp 3.0.1 build
Posted by: no1_48 (---.bb.netbynet.ru)
Date: September 15, 2017 05:18PM

I've just installed a current latest version of wamp, everything seems to work fine but php xdebug-var-dump. What ever I do I can't see well formatted var_dump with php 7.1.9. But if I switch to 7.0.23 it works just as expected, pretty formated arrays and stuff. Do I miss something?



Edited 4 time(s). Last edit at 09/15/2017 05:27PM by no1_48.

Options: ReplyQuote
Re: xdebug-var-dump - php 7.1.9 - wamp 3.0.1 build
Posted by: Otomatic (Moderator)
Date: September 15, 2017 05:56PM

Hi,

Not Wampserver problem.. See xDebug documentation : [xdebug.org]

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

Options: ReplyQuote
Re: xdebug-var-dump - php 7.1.9 - wamp 3.0.1 build
Posted by: no1_48 (---.bb.netbynet.ru)
Date: September 15, 2017 09:43PM

Nope it is wamp's one, the problem was in apache php.ini I've just solved it. Maybe it can help someone else.
When you switch versions of php to 7.1.9 the path to php_xdebug extention remains like this -zend_extension="c:/wamp64/bin/php/php7.1.9/zend_ext/php_xdebug-2.5.5-7.0-vc14-x86_64.dll" and it obviously can't see the actual file, so the right path is - zend_extension="c:/wamp64/bin/php/php7.1.9/zend_ext/php_xdebug-2.5.5-7.1-vc14-x86_64.dll"
after this everything works fine.



Edited 1 time(s). Last edit at 09/15/2017 09:45PM by no1_48.

Options: ReplyQuote
Re: xdebug-var-dump - php 7.1.9 - wamp 3.0.1 build
Posted by: Otomatic (Moderator)
Date: September 15, 2017 10:04PM

Hi,

Thanks. Exact. Only for PHP 7.1.9 versions installed by Wampserver 3.1.0 installers 32 and 64 bit. NOT for addons PHP 7.1.9

Verify in the file wamp\bin\php\php7.1.9\phpForApache.ini the line (almost at the end of the file )
[xdebug]
zend_extension ="c:/wamp/bin/php/php7.1.9/zend_ext/php_xdebug-2.5.5-7.1-vc14.dll"
There is php_xdebug-2.5.5-7.1-vc14.dll and not php_xdebug-2.5.5-7.0-vc14.dll

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

Options: ReplyQuote
Re: xdebug-var-dump - php 7.1.9 - wamp 3.0.1 build
Posted by: no1_48 (---.bb.netbynet.ru)
Date: September 15, 2017 10:32PM

I don't understand, I downloaded this file in the morning - wampserver3.1.0_x64
Installed wamp, switched to php 7.1.9 and php_xdebug didn't work.
I checked different php versions folders, all files were in places, with right names and pathes but it didn't work.
The problem is when you switch php version through tray icon wamp it doesn't change the PATH in PHP.ini automatically, it keeps 7.0 in the path to the extension and unless you change it manualy in php.ini to 7.1 it doesn't work.
That's my point smiling smiley

Options: ReplyQuote
Re: xdebug-var-dump - php 7.1.9 - wamp 3.0.1 build
Posted by: no1_48 (---.bb.netbynet.ru)
Date: September 16, 2017 10:17AM

Ok, now I see what you mean, this bug exists only in this installer. It was late yesterday I missread your message. Now I see addition in the main topic. Happy to help! By the way you are doing a great job! Thanks for this wonderful program! Cheers!

Options: ReplyQuote
Re: xdebug-var-dump - php 7.1.9 - wamp 3.0.1 build
Posted by: Otomatic (Moderator)
Date: September 16, 2017 02:48PM

Hi,

It is also possible to fix this "bug" without manually editing the php.ini file.
Just apply or reapply the xDebug 2.5.5 update available on
wampserver3_x86_update_xdebug_2.5.5.exe for Wampserver 32 bit
wampserver3_x64_update_xdebug_2.5.5.exe for Wampserver 64 bit.
You should take these versions and not those on Sourceforge and launch them as an administrator.

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

Options: ReplyQuote
Re: xdebug-var-dump - php 7.1.9 - wamp 3.0.1 build
Posted by: automill (139.167.1.---)
Date: September 20, 2017 04:14AM

Hi ,

I was facing the issue to start the services in my 64 bit system depending on Visual C++ Redistributable 2017 VC_redist.x86.exe and VC_redist.x86.exe. I found that these Redistributable packages cant install properly in 64 bit systems until the Microsoft update named "KB2999226" in pre-installed in windows 64 bit systems.

Download from here: [support.microsoft.com]

The downloaded file name for 64 bit systems will be "Windows6.1-KB2999226-x64.msu".

If you a already installed the Redistributable 2017 packages, please completely uninstall the packages before installing the above MS update and re-install using admin privileges.

Hope this helps.

Regards,



Edited 1 time(s). Last edit at 09/20/2017 04:18AM by automill.

Options: ReplyQuote


Sorry, only registered users may post in this forum.