linux 安装 使用xdebug
2015-08-15 15:50
513 查看
1.http://xdebug.org/wizard.php
访问地址,然后把php.ini的信息html放到文本里面提交
刷新后就会出现详细的安装信息
Xdebug installed: noServer API: FPM/FastCGIWindows: noZend Server: noPHP Version: 5.4.34Zend API nr: 220100525PHP API nr: 20100525Debug Build: noThread Safe Build: noConfiguration File Path: /etcConfiguration File: /etc/php.iniExtensions directory: /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525
Download xdebug-2.3.3.tgz
Unpack the downloaded file with
Run:
Run:
As part of its output it should show:
If it does not, you are using the wrong
skip the next step.
Run:
Run:
Run:
Edit
Restart the webserver
2 安装
下载文件
tar -xvzf xdebug-2.3.3.tgz
cd xdebug-2.3.3
/usr/local/php/bin/phpize
./configure --enable-xdebug --with-php-config=/usr/local/php/bin/php-config
make
cp modules/xdebug.so /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525
vim /etc/php.ini
加入:
zend_extension = /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so
保存退出
/etc/init.d/php-fpm restart
然后就可以开始使用xdebug了
访问地址,然后把php.ini的信息html放到文本里面提交
刷新后就会出现详细的安装信息
Tailored Installation Instructions
Summary
Xdebug installed: noServer API: FPM/FastCGIWindows: noZend Server: noPHP Version: 5.4.34Zend API nr: 220100525PHP API nr: 20100525Debug Build: noThread Safe Build: noConfiguration File Path: /etcConfiguration File: /etc/php.iniExtensions directory: /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525
Instructions
Download xdebug-2.3.3.tgzUnpack the downloaded file with
tar -xvzf xdebug-2.3.3.tgz
Run:
cd xdebug-2.3.3
Run:
phpize(See the FAQ if you don't have
phpize.
As part of its output it should show:
Configuring for: ... Zend Module Api No: 20100525 Zend Extension Api No: 220100525
If it does not, you are using the wrong
phpize. Please follow this FAQ entry and
skip the next step.
Run:
./configure
Run:
make
Run:
cp modules/xdebug.so /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525
Edit
/etc/php.iniand add the line
zend_extension = /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so
Restart the webserver
2 安装
下载文件
tar -xvzf xdebug-2.3.3.tgz
cd xdebug-2.3.3
/usr/local/php/bin/phpize
./configure --enable-xdebug --with-php-config=/usr/local/php/bin/php-config
make
cp modules/xdebug.so /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525
vim /etc/php.ini
加入:
zend_extension = /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so
保存退出
/etc/init.d/php-fpm restart
然后就可以开始使用xdebug了
相关文章推荐
- Centos6.5下Hbase配置
- Linux学习笔记(20) Linux系统管理
- linux 打包某用户所有文件,到另一机器上新建同名用户并导入备份文件
- linux 打包某用户所有文件,到另一机器上新建同名用户并导入备份文件
- Centos6.5 hadoop新增datanode
- Linux学习笔记(19) Linux服务管理
- Centos6.5 64位Hadoop伪分布安装教程
- CentOS下编译php时的一些典型错误及解决办法
- Linux 命令
- linux之sed用法
- dos2unix dos文本转换为linux文本 /bin/bas^M:bad interpreter
- 修改linux系统默认启动级别
- gitlab安装(基于centos6.5)
- linux下的目录处理命令
- Linux系统排查3——I/O篇
- Linux系统排查2——CPU负载篇
- centos6.7源码安装php
- Linux系统排查1——内存篇
- 关于linux下svn日志问题
- linux下编译C++程序无法链接Mysql的问题