简体   繁体   English

PHP 8.0.2 - 加载 Zend 扩展“xdebug”失败

[英]PHP 8.0.2 - Failed loading Zend extension 'xdebug'

Pasted my php_info() on the Xdebug installation wizard and followed all the steps.将我的 php_info() 粘贴到 Xdebug 安装向导上并按照所有步骤操作。

Xdebug Windows 安装向导中推荐步骤的屏幕截图

However, I keep getting然而,我不断得到

PHP Warning: Failed loading Zend extension 'xdebug' (tried: ext\\xdebug (The specified module could not be found), ext\\php_xdebug.dll (The specified module could not be found)) in Unknown on line 0 PHP 警告:加载 Zend 扩展 'xdebug' 失败(尝试:ext\\xdebug(找不到指定的模块),ext\\php_xdebug.dll(找不到指定的模块))在第 0 行的未知

Using Windows 11, PHP 8.0.2 CLI使用 Windows 11,PHP 8.0.2 CLI

UPDATE:更新:
Tried running php -i via CMD and I get the following popup.尝试通过 CMD 运行php -i ,我得到以下弹出窗口。 I don't know if it's related to the issue:不知道是不是和这个问题有关:

CMD 输出弹出窗口

It's necessary to choose the right dll version - TS or NTS, 32 or 64 bit from:有必要选择正确的 dll 版本 - TS 或 NTS,32 位或 64 位:

PHP 8.0 VS16 (64 bit)
PHP 8.0 VS16 (32 bit)
PHP 8.0 VS16 TS (64 bit)
PHP 8.0 VS16 TS (32 bit)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM