Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is xdebug not showing up in phpinfo()

Tags:

php

xampp

xdebug

I am trying to get the following to setup work:

  • Windows 7 - 64-bit
  • XAMPP 1.7.4
  • XDebug [php_xdebug-2.1.0-5.3-vc9-x86_64.dll]

When I run phpinfo() from Xampps homepage, XDebug it is not listed anywhere. I checked the Apache error logs and there are no errors, so it seems to load the module without problem? I haven't used PHP in years so I have no clue why this isn't working.

[PHP.ini]

[XDebug]
zend_extension_ts = "C:\xampp\php\ext\php_xdebug-2.1.0-5.3-vc9-x86_64.dll"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000
like image 400
chobo Avatar asked Mar 31 '11 17:03

chobo


People also ask

Where do I put Xdebug in PHP ini?

XAMPP for Mac OS X includes the XDebug PHP debugger, but it needs to be added to the "php. ini" file so that XDebug runs when Apache is started. To do this, open up the php. ini file, located at "/Applications/XAMPP/xamppfiles/etc/php.

Does Xdebug work with PHP 8?

PHP Version Support # In general, at any point when an Xdebug version is released, it will support the currently supported PHP versions. On Windows you need at least PHP 7.4. 20 or PHP 8.0.


1 Answers

I think you don't have the right compiler version. Copy the output of your phpinfo onto this page and it will tell you which version you need.

like image 137
pderaaij Avatar answered Sep 28 '22 00:09

pderaaij