Ubuntu16.04编译安装xdebug(phpstorm)
2017-04-07 15:26
477 查看
下载xdebug
https://xdebug.org/download.php安装xdebug
$ cd xdebug-x.x.x $ phpize (or /path/to/phpize ). $./configure --enable-xdebug (or: ../configure --enable-xdebug --with-php-config=/path/to/php-config if php-config is not in your path) $ make $ make install // add the following line to php.ini: zend_extension="/wherever/you/put/it/xdebug.so"
在php.ini中加入已下配置 注意自己的xdebug.so路径
zend_extension="/usr/local/php-7-1-3/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so" xdebug.auto_trace = on xdebug.collect_params = on xdebug.collect_return = on xdebug.profiler_enable = on xdebug.profiler_output_dir ="/usr/local/php-7-1-3/ext/xdebug_profilers" xdebug.trace_output_dir = "/usr/local/php-7-1-3/ext/xdebug_traces" xdebug.remote_enable = on xdebug.remote_host = 127.0.0.1//随你喜欢 xdebug.remote_port = 9999 //随你喜欢 xdebug.remote_autostart = on
相关文章推荐
- ubuntu16.04 安装完Qt后,编译项目出现cannot find -lGL
- Ubuntu 16.04源码编译安装nginx 1.10.0
- Ubuntu 16.04源码编译安装Apache 2.4.25教程
- Ubuntu16.04+Cuda8.0+Caffe+ Opencv3.2+Matlab2015b的配置、安装与编译 (二)
- Ubuntu16.04 编译安装GCC 5.3.0
- ubuntu 16.04 ProxyChains4 编译安装
- ubuntu16.04通过修改transmission源码编译安装transmission,使得其能够通过ipv6在六维下载
- Ubuntu 16.04源码编译安装PHP 5.6.29的教程
- Ubuntu 16.04 安装arm-linux-gcc交叉编译
- Ubuntu16.04+Cuda8.0+Caffe+ Opencv3.2+Matlab2015b的配置、安装与编译(一)
- Ubuntu 15.10/16.04 上安装Caffe——确保编译好的库相互兼容
- ubuntu 16.04 phpEclipse插件安装及配置Xdebug
- ubuntu-16.04 64bit 安装或者编译32的程序时报错的解决办法
- Ubuntu 16.04编译安装OpenCV(Python)
- ubuntu 16.04 openjdk安装配置 、phpEclipse插件安装、配置Xdebug
- ubuntu 16.04安装PHPSTORM
- Ubuntu16.04编译安装php
- ubuntu 16.04 openjdk安装配置 、phpEclipse插件安装、配置Xdebug
- ubuntu16.04 编译安装kubernetes1.6
- Ubuntu 16.04 安装 arm 树莓派3 交叉编译工具