php5_invoke xdebug:没有动作 – 维护者为apache2 SAPI禁用了模块

发布时间:2022-04-30 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了php5_invoke xdebug:没有动作 – 维护者为apache2 SAPI禁用了模块脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
我使用的是 Linux Mint 16,我今天更新了Linux Mint 17版本,正确更新了所有内容,但是xdebug没有被激活,所以我卸载它并重新安装它,我注意到当我去安装xdebug时,它显示了这个消息警告您无法激活.

这是由于扩展的一些安全问题?如何启用xdebug现在这个新的更新安装?

default@Default-PC ~ $sudo apt-get install PHP5-xdebug
Reading package lists... Done
Building dePEndency tree       
Reading state information... Done
The following NEW packages will be installed:
  PHP5-xdebug
0 upgraded,1 newly installed,0 to remove and 18 not upgraded.
Need to get 0 B/253 kB of Archives.
After this operation,982 kB of addITional disk space will be used.
Selecting prevIoUsly unselected package PHP5-xdebug.
(Reading database ... 272442 files and directories currently installed.)
PReparing to unpack .../PHP5-xdebug_2.2.3-2build1_amd64.deb ...
Unpacking PHP5-xdebug (2.2.3-2build1) ...
Setting up PHP5-xdebug (2.2.3-2build1) ...
PHP5_invoke xdebug: no action - module was disabled by maintainer for apache2 SAPI
我设法再次手动激活,解决方案是创建一个快捷方式xdebug.ini文件并将其粘贴到加载扩展文件夹中.

在桌面上创建一个快捷方式xdebug.ini文件

/etc/PHP5/mods-available/xdebug.ini

文件内容是:

zend_extension=xdebug.so

将桌面上创建的快捷方式复制到该文件夹​​:

/etc/PHP5/apache2/conf.d/

脚本宝典总结

以上是脚本宝典为你收集整理的php5_invoke xdebug:没有动作 – 维护者为apache2 SAPI禁用了模块全部内容,希望文章能够帮你解决php5_invoke xdebug:没有动作 – 维护者为apache2 SAPI禁用了模块所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。