php.ini注释掉xdebug.so扩展时报错502
环境 : centos + nginx + PHP 7.1.0
xdebug可以正常使用,但当我把xdebug注释掉时系统就会报错:
PHP Fatal error: Class '' not found in
Fatal error: Cannot declare class xx, because the name is already in use in
类似这种奇怪的错误,php.ini中加上xdebug后一切正常。
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
说明,你程序里用到这个扩展了