安装apache2.4
官方地址:http://httpd.apache.org/
如果选择2.2官方会编译好,选择2.4,要从其他镜像下载
Files for Microsoft Windows
然后选择ApacheHaus
然后下载v11_x64版本
修改配置httpd.conf
1.修改ServerRoot到安装目录
2.修改DocumentRoot到htdocs
php5.6.14基础安装
官方地址:http://php.net/
到官方地址下载v11_x64_线程安全版本
1.php配置文件修改:将php.ini-development修为php.ini
2.apache配置文件修改httpd.conf:在apache的配置文件尾部,追加
# php5 support,其中路径要用斜杠,LoadModule和PHPIniDir修改为自己对应的目录
LoadModule php5_module C:/ide/php/php-5.6.14/php5apache2_4.dll
AddType application/x-httpd-php .php .html .htm
# configure the path to php.ini
PHPIniDir "C:/ide/php/php-5.6.14"
php的xdebug2.3.3安装
官方地址:http://xdebug.org/
下载PHP 5.6 VC11 TS (64 bit) ,并拷贝php_xdebug-2.3.3-5.6-vc11-x86_64.dll到php安装目录的下面
修改php.ini文件,末尾追加,其中注意zend_extension,zend_extension_ts,extension。只配置zend_extension即可,其他不生效。
zend_extension = C:/ide/php/php-5.6.14/ext/php_xdebug-2.3.3-5.6-vc11-x86_64.dll
;zend_extension_ts = C:/ide/php/php-5.6.14/ext/php_xdebug-2.3.3-5.6-vc11-x86_64.dll
;extension=php_xdebug-2.3.3-5.6-vc11-x86_64.dll
[Xdebug]
;开启自动跟踪
xdebug.auto_trace = On
;开启异常跟踪
xdebug.show_exception_trace = On
;开启远程调试自动启动
xdebug.remote_autostart = On
;开启远程调试
xdebug.remote_enable = On
;收集变量
xdebug.collect_vars = On
;收集返回值
xdebug.collect_return = On
;收集参数
xdebug.collect_params = On
eclipse的debug配置
1.配置eclipse,修改PHP Excutables,把php安装目录配置上
同时修改PHP Excutables的子目录,Execution Environments,把5.6勾上
2.修改PHP/Debug/Debuggers的XDebug
3.修改PHP/Servers/Default PHP Web Server里面的端口,和htdocs
4.修改PHP/Debug,吧刚才设置的Excutables和Debuggers设置上
其中有个概念很重要,远程调试,服务器是eclipse,apache会主动来连接eclipse指定的IP和端口。apache里,默认远程端口是9000,地址是localhost。
后语
添加模块,从php.ini第849行开始
其中ts表示线程安全,nts表示线程不安全。
移动要注意版本的匹配,否则调试不通。
后续会上图,把eclipse的配置贴出来
分享到:
相关推荐
WIN7 EFI Debug 环境的搭建及使用方法,准备工作 QEMU:qemu-0.13.0-windows.zip(必须安装此版本,其他版本QEMU可能无法调试) VSPD:Virtual Serial Port Driver,虚拟串口工具 WinDbg:Windows下的Debug工具 ...
在WIN7环境下debug的使用,详细介绍了debug的具体操作,以及举例展示debug的强大。
1 安装DOSBox0.74-win32-installer.exe 安装之后桌面会有DOSBox 0.74 图标 2 D盘符新建文件夹 debug 3 拷贝debug.exe,masm.exe,link.exe,edit.com四个文件到 d:\debug文件夹下 4 打开桌面DOSBox 0.74 5 输入...
在debug环境下建立和汇编程序 ----初级汇编入门
windows driver debug guide
龙芯1B EJTAG在windows环境下的下载工具,亲自测验可用,附有详细操作ejtag-debug-cygwin-v3.8.2步骤,驱动需要另行安装哦。
windows 2000 debug symbols If you plan to install symbols manually, it is crucial that you remember this basic rule: the symbol files on the host computer are required to match the version of Windows ...
由于win7之后不自带debug了,所以要我们自己去安装debug程序,里面有安装程序和教程。
主要介绍了Windows下安装配置Ruby的debug工具ruby-debug-base19的方法,同时讲解了Ruby的IDE RubyMine中的相关配置方法,需要的朋友可以参考下
windows搭建汇编环境所需要的资源,里面包含了dosbox,debug.exe,edit.com,masm5.zip
该资源中主要有dosbox安装包和汇编需要的debug.exe、link.exe、masm.exe等文件、masm32安装包。可以在windows环境下搭建汇编语言环境
这分别是windows xp 32位和 windows 7 32位系统的debug程序
php-debug-pack-7.4.29-nts-Win32-vc15-x64php-debug-pack-7.4.2
Windows下独立的debug 可以随身带着,不错吧!
DebugView Windows程序调试神器
DebugView 是一个 Windows 下的调试工具,主要用于捕获程序的输出日志。它分为 64 位和 32 位版本,支持应用层和内核层的日志捕获。 DebugView 可以捕获程序中由 TRACE(debug 版本)和 OutputDebugString 输出的...
DebugView是一个系统调试信息输出的捕获工具。debugview 是 Sysinternals 公司的系列调试工具。debugview 可以捕获程序中由 TRACE(debug版本)和 OutputDebugString 输出的信息。debugview 也是一个 Debug 信息捕获...
windows .debug函数详解
windows 7 debug symbols 不含win7 sp1的symbol If you plan to install symbols manually, it is crucial that you remember this basic rule: the symbol files on the host computer are required to match the...