XDebug not loading in PHP (Vista, Apache Module)

I downloaded php_xdebug-2.0.5-5.3-vc9.dll, adding the following line at the end of PHP.ini:

zend_extension_ts="C:/Program Files/php5/ext/php_xdebug-2.0.5-5.3-vc9.dll"

When I use phpinfo (), xdebug does not load.

When I run the command "php.exe -m", it also does not load.

How can this be solved?

My configuration: PHP 5.3.1, Apache 2.2.14 with Apache module, OS: Windows Vista Both php and xdebug are thread safe.

This is a bit like: Apache does not load Xdebug, but does it at startup from the command line

EDIT:

I am using VC6 dll and fixed configuration:

zend_extension="C:/Program Files/php5/ext/php_xdebug-2.0.5-5.3-vc6.dll"

Still unable to find xdebug in phpinfo () output.

+3
source share
5

zend_extension_ts a > 5.3. zend_extension.

+6

zend_extension zend_extension_ts

"", " ", "" PHP- phpinfo()

, php

PHP 5.3.1

MSVC6 (Visual ++ 6.0)

x86

Xdebug 2.1.0/5.3 VC6 (32 )

+4

, VC9, VC6.

. " ?" http://windows.php.net/, ():

PHP Apache 1 Apache2 apache.org VC6 PHP

PHP IIS, VC9 PHP

VC9 apache.org


, Xdebug:

PHP 5.3, zend_extension, zend_extension_ts.

+1

Windows 7. , , , . Xdebug , , : http://www.xdebug.org/find-binary.php.

. 'php -m', xdebug .

+1

run php --ini to verify that the witch configuration file is loaded.
if you have something like this:


Uploaded configuration file: (none)
Scan additional .ini files to: (none)
Additional .ini files analyzed: (none)


Just copy the php.ini directory to windows ;)

+1
source

Source: https://habr.com/ru/post/1735977/


All Articles