View Issue Details

IDProjectCategoryView StatusLast Update
0001362XdebugInstallationpublic2016-11-20 22:33
Reporterpreeti.1910@gmail.comAssigned Toderick 
PriorityimmediateSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
PlatformPHPOSWindowsOS Version7
Product Version 
Target VersionFixed in Version 
Summary0001362: Issue in installing xdebug
DescriptionHi I have tried 5-6 times installing xdebug for php n netbeans.
As per the instruction given on
https://xdebug.org/wizard.php

But its not working.
Steps used
Steps To ReproduceSummary
Xdebug installed: no
Server API: Apache 2.0 Handler
Windows: yes - Compiler: MS VC11 - Architecture: x86
Zend Server: no
PHP Version: 5.6.23
Zend API nr: 220131226
PHP API nr: 20131226
Debug Build: no
Thread Safe Build: yes
Configuration File Path: C:\Windows
Configuration File: C:\php_5_6_23\php.ini
Extensions directory: C:\php_5_6_23\ext
Instructions

    Download php_xdebug-2.5.0rc1-5.6-vc11.dll
    Move the downloaded file to C:\php_5_6_23\ext
    Edit C:\php_5_6_23\php.ini and add the line
    zend_extension = C:\php_5_6_23\ext\php_xdebug-2.5.0rc1-5.6-vc11.dll
    Restart the webserver
TagsNo tags attached.
Operating System
PHP Version5.6.20-5.6.24

Activities

preeti.1910@gmail.com

2016-11-16 06:09

reporter  

Xdebug Support; Tailored Installation Instructions.htm (4,023 bytes)

derick

2016-11-16 12:50

administrator   ~0003744

Did you pass in output from the command line php's phpinfo(), or from a phpinfo() output through a web request?

Jim Bacon

2016-11-17 10:13

reporter   ~0003759

Last edited: 2016-11-18 08:46

View 2 revisions

I experienced a similar problem which was resolved by changing
zend_extension = C:\php_5_6_23\ext\php_xdebug-2.5.0rc1-5.6-vc11.dll
to
zend_extension = php_xdebug-2.5.0rc1-5.6-vc11.dll

extension_dir was set to the extension directory in my ini file which may explain why the full path caused a problem.

This might indicate that the advice given by the wizard is incorrect in these circumstances. (PHP 7.0.13 in my case)

preeti.1910@gmail.com

2016-11-18 04:25

reporter   ~0003762

Hi derick,

I changed
zend_extension_debug = C:\php_5_6_23\ext\php_xdebug-2.5.0rc1-5.6-vc11.dll
   to

zend_extension = C:\php_5_6_23\ext\php_xdebug-2.5.0rc1-5.6-vc11.dll

And its showing in phpinfo(), that xdebug is installed .

But when I start debug in netbeans its continuesly showing
"waiting for connection (netbeans-xdebug)"... And I am not able to debug.
PLease help..

Jim Bacon

2016-11-18 08:53

reporter   ~0003763

Refer to https://bugs.xdebug.org/view.php?id=1361
There may be a better answer but my solution was to revert to version 2.4.1.
You will also experience this problem if your configuration is incorrect but that would not be a bug.

preeti.1910@gmail.com

2016-11-18 12:07

reporter   ~0003764

Hi Jim,

I referred this https://bugs.xdebug.org/view.php?id=1361 [^]

and changed Version that isn't connectiong:
zend_extension = C:\php_5_6_23\ext\php_xdebug-2.5.0rc1-5.6-vc11.dll

Version that is working:
zend_extension = C:\php_5_6_23\ext\php_xdebug-2.4.1-5.6-vc11.dll

BUT Still same problem..
IN netbeans continuously it showing ..
"waiting for connection (netbeans-xdebug)"... And I am not able to debug.

Jim Bacon

2016-11-18 13:18

reporter   ~0003765

Then, unless you have any evidence of a bug, I would be pretty confident you have a configuration issue, in which case there is plenty of information on line to help you resolve this. E.g http://www.devside.net/wamp-server/netbeans-waiting-for-connection-netbeans-xdebug-issue. Google is your friend.

derick

2016-11-20 22:33

administrator   ~0003768

I am pretty sure this is a configuration issue too. Please write to the support mailinglist to get this sorted. (see https://xdebug.org/support.php).

Issue History

Date Modified Username Field Change
2016-11-16 06:09 preeti.1910@gmail.com New Issue
2016-11-16 06:09 preeti.1910@gmail.com File Added: Xdebug Support; Tailored Installation Instructions.htm
2016-11-16 12:50 derick Note Added: 0003744
2016-11-16 12:50 derick Assigned To => derick
2016-11-16 12:50 derick Status new => feedback
2016-11-17 10:13 Jim Bacon Note Added: 0003759
2016-11-18 04:25 preeti.1910@gmail.com Note Added: 0003762
2016-11-18 04:25 preeti.1910@gmail.com Status feedback => assigned
2016-11-18 08:46 Jim Bacon Note Edited: 0003759 View Revisions
2016-11-18 08:53 Jim Bacon Note Added: 0003763
2016-11-18 12:07 preeti.1910@gmail.com Note Added: 0003764
2016-11-18 13:18 Jim Bacon Note Added: 0003765
2016-11-20 22:33 derick Note Added: 0003768
2016-11-20 22:33 derick Status assigned => resolved
2016-11-20 22:33 derick Resolution open => no change required