[英]XAMPP phpinfo does not detect Xdebug configuration in php.ini
I downloaded the.dll file for the right PHP version that I use (php 7.2 ) with XAMPP v3.2.3;我下载了 .dll 文件,用于我使用的正确 PHP 版本(php 7.2 )和 XAMPP v3.2.3; I placed the file in
C:\xampp\php\ext
and set this in the ini file and restarted Apache:我将文件放在
C:\xampp\php\ext
并在ini文件中设置并重新启动Apache:
output_buffering=Off
zend_extension="C:\xampp\php\ext\php_xdebug-3.0.1-7.2-vc15-nts-x86_64.dll"
zend.assertions=1
xdebug.mode=debug
xdebug.client_host = "127.0.0.1"
xdebug.client_port=9000
But still, phpinfo()
does not show any Xdebug configuration...但是,
phpinfo()
仍然没有显示任何 Xdebug 配置...
What could be wrong?有什么问题? I'm using Windows 10.
我正在使用 Windows 10。
XAMPP means Apache... therefore you need a TS (Thread Safe) version of Xdebug (and not NTS like you are trying to use right now). XAMPP 表示 Apache ... 因此您需要 Xdebug 的 TS(线程安全)版本(而不是像您现在尝试使用的 NTS)。
The file should be called php_xdebug-3.0.1-7.2-vc15-x86_64.dll
as I understand (for x64 bit version of PHP): https://xdebug.org/files/php_xdebug-3.0.1-7.2-vc15-x86_64.dll据我了解,该文件应称为
php_xdebug-3.0.1-7.2-vc15-x86_64.dll
(对于 PHP 的 x64 位版本): https://xdebug.org/files/php_xdebug1-3。 x86_64.dll
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.