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 @R_459_4045@ion... 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/

相关文章

统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...
统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...
前言 之前做了微信登录,所以总结一下微信授权登录并获取用户...
FastAdmin是我第一个接触的后台管理系统框架。FastAdmin是一...
之前公司需要一个内部的通讯软件,就叫我做一个。通讯软件嘛...
统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...