View Issue Details

IDProjectCategoryView StatusLast Update
0000611XdebugInstallationpublic2011-03-30 21:59
Reportertrotters213 Assigned Toderick  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionunable to reproduce 
Product Version2.1.0 
Summary0000611: XDebug installed: Only as PHP extension!
Description

I can't correctly install XDebug on my IIS 6 server as Zend Extension.

I updated my PHP from 5.2.9 to 5.3.3 NTS VC9 and then XDebug from 2.0.4 to 2.1.0.

My php.ini contains the good path to xdebug module :
zend_extension = C:\php\5.3.3\ext\php_xdebug-2.1.0-5.3-vc9-nts.dll

I tried my configuration here http://www.xdebug.org/find-binary.php and I did what they recommended but I always got my problem : "XDebug installed: Only as PHP extension!"

I can't use profiling nore debugging but my var_dump is customized.

Additional Information
  1. I have no error in ISS event log when I start it.

  2. In the php.ini I tried differents syntaxes to declare xdebug module :

  • extension = C:\php\5.3.3\ext\php_xdebug-2.1.0-5.3-vc9-nts.dll
  • extension = php_xdebug-2.1.0-5.3-vc9-nts.dll
  • zend_extension = C:\php\5.3.3\ext\php_xdebug-2.1.0-5.3-vc9-nts.dll
  • zend_extension = ext\php_xdebug-2.1.0-5.3-vc9-nts.dll
  • zend_extension = php_xdebug-2.1.0-5.3-vc9-nts.dll
  • zend_extension_ts = C:\php\5.3.3\ext\php_xdebug-2.1.0-5.3-vc9-nts.dll

But I always got my problem.

  1. when I run phpinfo there is :
    "Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans" but the module is loaded as extension instead of zend extension

  2. with PHP 5.2.9 and XDebug 2.0.4 everything was OK.

TagsNo tags attached.
Operating SystemWindows Server 2003 Server Enterprise Edition SP2
PHP Version5.3.3

Activities

ivano

2010-10-04 16:20

reporter   ~0001577

Last edited: 2010-10-04 16:22

I have got the same issue but I'm using:
Windows Vista :-(
Apache 2.0
PHP 5.2.6
XDebug 2.1.0

PHP is installed in a directory whose name contains spaces but the tailored instructions report it correctly. Here is its summary:

Xdebug installed: Only as PHP extension!

Server API: Apache 2.0 Handler

Windows: yes - Compiler: MS VC6 - Architecture: x86

Zend Server: no

PHP Version: 5.2.6

Zend API nr: 220060519

PHP API nr: 20060613

Debug Build: no

Thread Safe Build: yes

Configuration File Path: C:\Windows

Configuration File: D:\Program Files\TYPO3_4.3.2\php\php.ini

Extensions directory: D:\Program Files\TYPO3_4.3.2\php\ext

And here are its instructions:

Instructions

Warning: You seem to have Xdebug loaded as a normal PHP extension only. This will cause odd issues, please see the FAQ entry on it.

  1. Download php_xdebug-2.1.0-5.2-vc6.dll
  2. Move the downloaded file to D:\Program Files\TYPO3_4.3.2\php\ext
  3. Edit D:\Program Files\TYPO3_4.3.2\php\php.ini and add the line
    zend_extension_ts = D:\Program Files\TYPO3_4.3.2\php\ext\php_xdebug-2.1.0-5.2-vc6.dll
  4. Restart the webserver

The FAQ entry pointed does not apply to me since I'm not using any .so extension and in any case the config files do not contain the mentioned line:

extension=xdebug.so

ivano

2010-10-04 16:55

reporter   ~0001578

Another note.
Despite the warning message is showed, if I run php-m I get the following:

[Zend Modules]
XDebug
eAccelerator

but xdebug (with lower case x is listed also under the PHP Modules list.

Doest this mean: XDebug is really installed as a Zend Extension?

I have double checked and in my php.ini file I cannot find another location where xdebug or Xdbug is mentioned

derick

2011-01-10 22:01

administrator   ~0001643

Can you please make sure you don't have an extension= line for xdebug somewhere? The top bit of phpinfo() shows you which .ini files are loaded.

derick

2011-03-30 21:59

administrator   ~0001707

The requested information was not provided. Please re-open if you do provide that information.

Issue History

Date Modified Username Field Change
2010-08-24 07:37 trotters213 New Issue
2010-08-24 07:37 trotters213 Operating System => Windows Server 2003 Server Enterprise Edition SP2
2010-08-24 07:37 trotters213 PHP Version => 5.3.3
2010-08-24 07:37 trotters213 Xdebug Version => 2.1.0
2010-10-04 16:20 ivano Note Added: 0001577
2010-10-04 16:22 ivano Note Edited: 0001577
2010-10-04 16:55 ivano Note Added: 0001578
2011-01-10 22:01 derick Note Added: 0001643
2011-01-10 22:01 derick Assigned To => derick
2011-01-10 22:01 derick Status new => feedback
2011-03-30 21:59 derick Note Added: 0001707
2011-03-30 21:59 derick Status feedback => resolved
2011-03-30 21:59 derick Resolution open => unable to reproduce