Setup XDebug for WAMP 3.0.8 64bit
Posted by: Olivia (---.wifi.xtra.co.nz)
Date: February 07, 2017 05:55AM

Hi,

I am trying to setup xDebug on Windows 10 running Wampserver 3.0.8 64bit, PHP 7.0.11, Apache 2.4.23
I am aware that Wamserver comes with xDebug already installed but for some reason xDebug is not appearing anywhere when I look at phpinfo.php.

Below is my xDebug configuration in C:/wamp64/bin/apache/apache2.4.23/bin/php.ini

zend_extension ="c:/wamp64/bin/php/php7.0.11/zend_ext/php_xdebug-2.5.0-7.0-vc14-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

Am I missing something or do you I need to do anything else?

Options: ReplyQuote
Re: Setup XDebug for WAMP 3.0.8 64bit
Posted by: RiggsFolly (Moderator)
Date: February 07, 2017 09:22AM

Hi

XDEBUG should be configured and working automatically in WAMPServer.

What have you changed since the install was done.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Setup XDebug for WAMP 3.0.8 64bit
Posted by: Olivia (---.wifi.xtra.co.nz)
Date: February 08, 2017 11:24PM

I figured it out.
It appears that the issue was caused by a space that was added to the start of Memcache entries in the Apache PHP.ini file by Wampserver when I enabled the php_memcache extension:

[Memcache]
memcache.allow_failover = 1
memcache.max_failover_attempts = 20
memcache.chunk_size = 8192
memcache.default_port = 11211

I spotted the error below in the Apache Error log:
PHP: syntax error, unexpected END_OF_LINE, expecting '=' in C:\wamp64\bin\apache\apache2.4.23\bin\php.ini on line 913

Removing the leading space from the Memcache entries fixed the issue and xDebug is now loading.

It looks like a Wampserver bug.

Thank you for your time.



Edited 4 time(s). Last edit at 02/09/2017 01:40AM by Olivia.

Options: ReplyQuote


Sorry, only registered users may post in this forum.