ubuntu14 安装xdebug
来源:互联网 发布:mysql 设置默认值 编辑:程序博客网 时间:2024/06/08 08:54
Add XDebug to Ubuntu 14.04
Submitted by Wilbur on Tue, 06/17/2014 - 12:49pm
It's pretty easy to add XDebug to Ubuntu for PHP and HTML5 Development. Here's a recipe:
First, install XDebug, this assumes you already have a LAMP stack installed with Apache, PHP, MySQL:
sudo apt-get install php5-xdebug
This installed the latest version, which is 2.2.3 at this time. Now update the options in PHP.INI - /etc/php5/apache2/php.ini
# Added for xdebugzend_extension="/usr/lib/php5/20121212/xdebug.so"xdebug.remote_enable=1xdebug.remote_handler=dbgp xdebug.remote_mode=reqxdebug.remote_host=127.0.0.1 xdebug.remote_port=9000
Restart Apache2, and you are ready to go!
sudo service apache2 restart
//通过下载相应的xdebug版本安装
1. Unpack the tarball: tar -xzf xdebug-2.2.x.tgz. Note that you donot need to unpack the tarball inside the PHP source code tree.Xdebug is compiled separately, all by itself, as stated above.2. cd xdebug-2.2.x3. Run phpize: phpize (or /path/to/phpize if phpize is not in your path).4. ./configure --enable-xdebug (or: ../configure --enable-xdebug --with-php-config=/path/to/php-config if php-config is not in your path)5. Run: make6. cp modules/xdebug.so /to/wherever/you/want/it7. add the following line to php.ini: zend_extension="/wherever/you/put/it/xdebug.so"8. Restart your webserver.
0 0
- ubuntu14 安装xdebug
- ubuntu14 安装xdebug
- xdebug安装
- xdebug 安装
- xdebug 安装
- xdebug安装
- Xdebug安装
- xdebug安装
- xdebug 安装
- Xdebug安装
- 安装xdebug
- 配置xdebug远程调试-xdebug安装
- xdebug的安装、使用说明
- PHP5 XDebug 的安装
- xdebug的安装
- phpnow 安装 xdebug
- Xdebug安装配置
- xdebug 安装与配置
- ThinkPHP学习笔记(1)--写了很多简陋的面向过程的php代码,第一次学习框架。
- 公司现状与未来发展方向的探讨
- Mono Runtime 的垃圾回收
- 第十一周项目一函数版星号图(3)(4)
- ios之TableViewCell重用机制避免重复显示方案
- ubuntu14 安装xdebug
- 免费开源软件kpym telnet/ssh server的使用
- jQuery+zTree加载树形结构菜单
- OGRE1.7.4显示中文字符串细节问题
- 菜鸟一号报道,问一个很邪恶的问题!
- 算法重拾之路——大数乘法
- sparkSQL1.1入门之十:总结
- Apache Shiro Caching学习笔记
- LaTeX各种表格