PHP5.3 Apache2.2 Xdebug2.2.3配置
来源:互联网 发布:工业数据哪里找 编辑:程序博客网 时间:2024/06/08 21:07
Step1:下载
Apache httpd下载网址:点此下载Apache;
PHP下载网址:点此下载PHP;
Xdebug下载网址:点此下载Xdebug;
Step2:安装
Apache安装:根据Apache的安装向导安装;安装路径为E:\Office\Apache2.2;
php安装:下载Zip,无需安装,解压即可;安装路径E:\Office\php(以前PHP5.3版本分为VC6和VC9,现在的5.3的版本不必区分VC6还是VC9.因为只有VC9了。)
Xdebug安装:就是一个dll文件,不必安装。
Step3:配置
配置Apache中的httpd.conf文件
../Apache2.2/conf/httd.conf
打开httpd.conf文件,搜索LoadModule关键字,将会看到一系列的LoadModule,将鼠标光标定位在LoadModule的最末端;
加入以下配置语句:
#让apache载入php的处理模块
LoadModule php5_module "E:/Office/php/php5apache2_2.dll"#phpinidir这个用于指定php的ini文件,该文件是对php的一些配置PHPIniDir "E:/Office/php"#这个配置表示,当有一个资源是*.php的时候就由php文件来处理AddType application/x-httpd-php .php .html
配置PHP:
首先将php.ini-development修改为php.ini,然后打开此文件;
其次,查找; extension_dir = "ext",去掉分号,修改路径为php的解压路径extension_dir = "E:/Office/php/ext";
最后,开放一些必要的扩展包:
extension=php_curl.dll
extension=php_gd2.dll
extension=php_mbstring.dll
配置Xdebug:
首先,将php_xdebug-2.2.3-5.3-vc9.dll文件放到php/ext/文件夹下;
其次,修改php.ini文件在文件末端添加:[xdebug]
zend_extension= "E:/Office/php/ext/php_xdebug-2.2.3-5.3-vc9.dll"
xdebug.profiler_enable = on
xdebug.trace_output_dir= "E:/xdebug"
xdebug.profiler_output_dir= "E:/xdebug"
Step4:restart apache
在apache的htdocs下新建index.php文件:<?php
phpinfo();
?>浏览器访问http://localhost/index.php
- PHP5.3 Apache2.2 Xdebug2.2.3配置
- php5.6.1+eclipse for php 4.4.0+Apache2.4+Xdebug2.2.5 配置详情
- php5.3 安装xdebug2.1.2
- PHP5+APACHE2.2配置
- PHP5+APACHE2.2配置
- PHP5+APACHE2.2配置
- PHP5+APACHE2.2配置
- PHP5+APACHE2.2配置
- PHP5+APACHE2.2配置
- PHP5+APACHE2.2配置
- PHP5+APACHE2.2配置
- PHP5+APACHE2.2配置
- PHP5+APACHE2.2配置
- PHP5+APACHE2.2配置
- PHP5+APACHE2.2配置
- php5.3+Apache2.2 配置方法
- Apache2.2+PHP5.3初次配置
- 配置Apache2.2和PHP5.3
- HYSBZ:1026 windy数(数位DP)
- python备份mysql数据库
- vimrc 配置
- Android SDK更新 Connection to http://dl-ssl.google.com refused 解决方法
- Apache—DBUtils框架
- PHP5.3 Apache2.2 Xdebug2.2.3配置
- 虚拟机下3070网卡 no ap with wpa found on channel all
- 品牌邮件的肇始者:TouchMail的努力
- 邮件营销如何讨人喜欢?
- sql server 2008分布式查询
- treeview用法
- 邮件营销 出于直邮而胜于直邮
- Visual C#中的DateTimePicker的使用简介
- ASP.NET打开新窗口的多种方法