eclipse开发调试wordpress(一)-安装php开发环境
2013-03-31 15:16
639 查看
1 软件下载
1.1 eclipse
这里使用的是eclipse-php下载地址:http://archive.eclipse.org/technology/epp/downloads/release/helios/SR1/eclipse-php-helios-SR1-win32-x86_64.zip
1.2 xampp
这里下载的是精简版下载地址:
http://www.apachefriends.org/zh_cn/xampp-windows.html
2 集成配置
步骤三:配置xampp
修改xmapp\app\php.ini配置文件,开启XDebug功能
修改之后访问http://localhost/xampp/phpinfo.php查看是否有XDebug内容
修改xmapp\xampp\apache\conf\httpd.conf
修改xmapp\app\php.ini配置文件,开启XDebug功能
[XDebug] zend_extension = "\tool\xampp\php\ext\php_xdebug.dll" xdebug.profiler_append = 0 xdebug.profiler_enable = 1 xdebug.profiler_enable_trigger = 0 xdebug.profiler_output_dir = "\tool\xampp\tmp" xdebug.profiler_output_name = "cachegrind.out.%t-%s" xdebug.remote_enable = 0 xdebug.remote_handler = "dbgp" xdebug.remote_host = "127.0.0.1" xdebug.trace_output_dir = "\tool\xampp\tmp"
修改之后访问http://localhost/xampp/phpinfo.php查看是否有XDebug内容
修改xmapp\xampp\apache\conf\httpd.conf
# # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "D:/workspace/php"
# # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. # # # This should be changed to whatever you set DocumentRoot to. # <Directory "D:/workspace/php">
步骤三:新建php项目
在eclipse中,右键>>New>>PHP Project
然后新建php文件,写入
<?php echo "Welcome http://linjunlong.com ?>
右键页面>>Run As >> PHP Web Page
相关文章推荐
- eclipse开发调试wordpress(一)-安装php开发环境
- [转]Eclipse+PHPEclipse+DBG的PHP开发调试环境的安装与配置
- 基于wampserver和Eclipse for PHP Developers的PHP开发调试环境搭建
- PHP开发调试环境配置(基于wampserver+Eclipse for PHP Developers )
- MAMP:在 OSX 中搭建 Apache, MySQL, PHP 环境并本地安装、调试 WordPress
- PHP xdebug eclipse subversion SVN phpunit xmapp 企业级团队开发环境搭建 集成单元测试 花样调试 版本控制 张迅雷原创 欢迎转载
- MAMP:在 OSX 中搭建 Apache, MySQL, PHP 环境并本地安装、调试 WordPress
- 安装配置Eclipse开发PHP环境配置
- PHP开发调试环境配置(基于wampserver+Eclipse for PHP Developers )(转)
- 一刻钟搭建apache+php开发环境(适用于本地安装wordpress、discuz,ecshop安装失败估计是php版本太高)
- eclipse 安装php插件及配置xampp集成环境开发php项目
- 搭建Windows系统下php开发环境有很多种方式,比如LAMP的配置、php IDE和调试工具的选择等等。根据每个人喜好不同有很多配置方式。这里主要介绍的是利用XAMPP集成安装和配置apache、
- Wins【7/10】环境下安装基于Eclipse的STM32交叉编译开发调试环境
- (纯干货) MAC OS 下使用 MAMP + Zend Studio 搭建 PHP 开发环境及安装WordPress
- PHP开发调试环境配置(基于wampserver+Eclipse for PHP Developers )
- Ubuntu 10.04 安装配置LAMP以及php开发环境 Eclipse PDT的安装
- eclipse完美配置PHP开发环境 ;(下载 安装 配置php自动提示代码 优化eclipse)
- PHP开发调试环境配置(基于wampserver+Eclipse for PHP Developers )
- MAMP:在 OSX 中搭建 Apache, MySQL, PHP 环境并本地安装、调试 WordPress
- Windows 下 PHP 开发环境配置系列三 - eclipse PDT + Zend Debugger 调试web 项目