PHP 7.3 failed to install Xdebug

< H1 > PHP 7.3 cannot install Xdebug < / H1 > < H2 > Environment of PHP < / H2 >

XAMPP comes with PHP:

Zend Extension Build API320180731,TS,VC15
PHP Extension Build API20180731,TS,VC15

< H2 > use built-in xdebug to detect < / H2 >

clipboard.png
download

xdebug

clipboard.png

add content under php.ini

[Xdebug]
zend_extension = D:\6_Workstations\XAMPP\php\ext\php_xdebug-2.7.0beta1-7.3-vc15-x86_64.dll
xdebug.remote_enable=1
xdebug.remote_mode=req
 xdebug.remote_host=localhost
xdebug.remote_handler=dbgp
xdebug.remote_port=9000
xdebug.idekey="PHPSTORM"

both dll have been tried, and Apache has been restarted, but the xdebug module still cannot be started

< hr >

was killed by the deployment environment before he started writing the business.

Jun.02,2022

it is recommended to abandon windows


I have the same problem, which is solved like this:
1. First of all, cmd run php-m to see if the error is reported
112542_ywrh_266531.png
if not, be sure to resolve the error reported before configuring the plug-in
2. If it is reported this error, then the dll file path or file name is not correct
the latest version of XAMPP has this plug-in, in the directory xampp\ php\ ext called php_xdebug.dll
Note: must be sure not to follow the Xdebug official website tutorial installation, otherwise it will always fail
3. Then configure php.ini file

[Xdebug]
zend_extension="D:\Program Files (x86)\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable=1 
xdebug.remote_handler=dbgp
xdebug.remote_mode=req 
xdebug.remote_host=localhost 
xdebug.remote_port=9000
xdebug.idekey="PHPSTORM"

4. Just restart the server

Menu