View Issue Details

IDProjectCategoryView StatusLast Update
0001362XdebugInstallationpublic2016-11-20 22:33
Reporterpreeti.1910@gmail.com Assigned Toderick  
PriorityimmediateSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
PlatformPHPOSWindowsOS Version7
Summary0001362: Issue in installing xdebug
Description

Hi 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 Reproduce

Summary
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.
Attached Files
Xdebug Support; Tailored Installation Instructions.htm (4,023 bytes)   
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<title>Xdebug: Support; Tailored Installation Instructions</title>
	<meta name="ROBOTS" content="ALL">
	<meta name="MSSmartTagsPreventParsing" content="true">
	<meta name="DESCRIPTION" content="Xdebug: A powerful debugger for PHP">
	<meta name="AUTHOR" content="Derick Rethans, as in derick@xdebug.org">
	<link type="text/css" rel="stylesheet" href="Xdebug%20%20Support;%20Tailored%20Installation%20Instructions_files/core.css">


</head>
<body>
	<table style="width: 100%" border="0" cellpadding="0" cellspacing="0">
		<tbody><tr>
			<td style="height: 64px; width: 18%; background: url(/images/topleft.gif);">&nbsp;</td>
			<td class="head" style="height: 64px; background: url(/images/topleft.gif);"><img id="logo" src="Xdebug%20%20Support;%20Tailored%20Installation%20Instructions_files/xdebug.gif" alt="Xdebug" align="right"></td>
			<td style="height: 64px; width: 18%; background: url(/images/topleft.gif);">&nbsp;</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td><span class="serif">
			
<!-- MAIN FEATURE START -->

<span class="sans">XDEBUG EXTENSION FOR PHP | DOCUMENTATION | INSTALLATION</span><br>

<div id="menu">
<span class="sans">
<a href="https://xdebug.org/index.php">home</a> |
<a href="https://xdebug.org/updates.php">updates</a> |
<a href="https://xdebug.org/download.php">download</a> |
<a href="https://xdebug.org/docs/">documentation</a> |
<a href="https://xdebug.org/contributing.php">contributing</a> |
<a href="https://xdebug.org/license.php">license</a> |
<a href="https://xdebug.org/support.php">support</a> |
<a href="http://bugs.xdebug.org/">issue tracker</a>
</span>
</div>
<br>

<div id="support" style="float: right; text-align: center; width: 200px; border: 1px solid rgba( 0, 68, 17, 0.6); margin-right: 20px; margin-left: 20px; padding: 5px;">
<p class="buy-support">
If you like Xdebug, please consider giving a<br><a href="https://xdebug.org/donate.php">donation</a>.
<br>
<br>
</p>
<p class="buy-support">
Or <a href="https://flattr.com/about">Flattr</a> this website:
<a href="https://flattr.com/thing/565889" target="_blank"><img src="Xdebug%20%20Support;%20Tailored%20Installation%20Instructions_files/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0"></a>
</p>
</div>


<h2>Tailored Installation Instructions</h2>

<h2>Summary</h2>
<li><b>Xdebug installed:</b> no</li>
<li><b>Server API:</b> Apache 2.0 Handler</li>
<li><b>Windows:</b> yes - Compiler: MS VC11 - Architecture: x86</li>
<li><b>Zend Server:</b> no</li>
<li><b>PHP Version:</b> 5.6.23</li>
<li><b>Zend API nr:</b> 220131226</li>
<li><b>PHP API nr:</b> 20131226</li>
<li><b>Debug Build:</b> no</li>
<li><b>Thread Safe Build:</b> yes</li>
<li><b>Configuration File Path:</b> C:\Windows</li>
<li><b>Configuration File:</b> C:\php_5_6_23\php.ini</li>
<li><b>Extensions directory:</b> C:\php_5_6_23\ext</li>

<h2>Instructions</h2>
<ol>
<li>Download <a href="http://xdebug.org/files/php_xdebug-2.5.0rc1-5.6-vc11.dll">php_xdebug-2.5.0rc1-5.6-vc11.dll</a></li>
<li>Move the downloaded file to C:\php_5_6_23\ext</li>
<li>Edit <code>C:\php_5_6_23\php.ini</code> and add the line<br><code>zend_extension = C:\php_5_6_23\ext\php_xdebug-2.5.0rc1-5.6-vc11.dll</code></li>
<li>Restart the webserver</li>
</ol>
<p>
	If you like Xdebug, and thinks it saves you time and money, please have a look at the <a href="https://xdebug.org/donate.php">donation</a> page.
</p>
<!-- MAIN FEATURE END -->

			</span></td>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td colspan="4">
<div class="copy">
This site and all of its contents are
Copyright © 2002-2016 by Derick Rethans.<br>
All rights reserved.
</div>
			</td>
		</tr>
	</tbody></table>



</body></html>
Operating System
PHP Version5.6.20-5.6.24

Activities

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

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
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