Eclipse + XAMPP + Wordpress system setup in Windows Vista

Setup the Eclipse + XAMPP + Wordpress debugging system in my Windows Vista system, it takes quite considerable effort to figure out the workable way to all of these, record down the procedure.

1, download and install the eclipse, 

You might have installed the JDK, for eclipse, tried to install the phpeclipse in my existing Eclipse 3.5.2 by menu "help->install new software...->add", then input the link as: http://phpeclipse.sourceforge.net/update/stable/1.2.x/, found it‘s not so easy
to use.

but in this way I installed the DLTK plugin from this link: http://download.eclipse.org/technology/dltk/updates/

Finally gave up the phpeclipse, downloaded Eclipse for PHP Developers, it is Helios Packages, other versions might needs the Java 1.7 support, my system installed Java 16, with eclipse downloaded and installed, the PHP plug-in is ready to be used.

2, download and install XAMPP, "xampp-win32-1.8.2-6-VC9-installer.exe", so easy, installed at F:\Server_Dev\xampp\.

3, wordpress downloaded from my personal blog, "blog.xionghuilin.com"

4, Eclipse configuration and project setup

"Eclipse->Window->Preferences->PHP Executables" as:

Execution Environment:

PHP Interpreter:

PHP Server:

Setup your wordpress project, you can create a PHP project and copy your wordpress folder into the project, the wordpress eclipse project will be successfully created,

At this moment, the eclipse will return some html syntax error(duplicate tag and unclosed start tag), this is caused by eclipse syntax validation,

Project->Properties->HTML Syntax:

modification to the PHP.ini, at the bottom, [XDebug], un-comments below a few lines,

zend_extension = "F:\Server_Dev\xampp\php\ext\php_xdebug.dll"

xdebug.profiler_output_dir = "F:\Server_Dev\xampp\tmp"

xdebug.remote_enable = 1

xdebug.remote_host = "127.0.0.1"

Now the Eclipse environment is ready!

5, PHPmyadmin setup (wordpress mysql database import and username/password setup)

create the root username and password  for the mysql, if there is no security control, your data will be unsafe.

To create the root password for the mysql, In the phpMyAdmin window, select SQL tab from the right panel. This will open the SQL tab where we can run the SQL queries, input the SQL command "UPDATE mysql.user SET Password=PASSWORD(‘root_password‘) WHERE User=‘root‘"

Now you will see a message saying that the query has been executed successfully. If you refresh the page, the PHPmyadmin will return the error as below,

the mysql root password is configured in the PHPmyadmin configuration file, [XAMPP Installation Path] / phpmyadmin / config.inc.php, in these several lines,

/* Authentication type and info */

$cfg[‘Servers‘][$i][‘auth_type‘] = ‘config‘;

$cfg[‘Servers‘][$i][‘user‘] = ‘root‘;

$cfg[‘Servers‘][$i][‘password‘] = ‘root_password‘;

after the configuration, you can refresh the page and access to the PHPmyadmin again.

Now it‘s time to import your wordpress database to your local mysql, I have a backup from my wordpress blog, first you need to create the database, click the new button,

Click the "Check Privileges" to add the username/password

the username and password should be the same as your wordpress database username/password in the wp-config.php, then there is no need to modify your wordpress source code, can be used locally directly, as in below picture,

input your password and username, should be the same as your wordpress blog database username and password as mentioned above,

Now the wordpress database is successfully imported to local mysql data base, you can debug with this environment you have setup,

Yeah! Start to enjoy your journey of wordpress now!

时间: 2024-08-20 11:44:41

Eclipse + XAMPP + Wordpress system setup in Windows Vista的相关文章

雨林木风 Windows Vista ULTIMATE With SP1 精简版 Y2.1

软件大小:2.66G   软件语言:简体中文   软件类别:国外软件/操作系统   运行环境:Win2003, WinXP, Win2000, NT, WinME,winvista,win7   授权方式:免费软件 软件评级: 雨林木风 Windows Vista ULTIMATE With SP1 精简版,基于 Windows Vista Ultimate SP1 X86 MSDN 官方简体中文版精简优化而成,无人值守安装,免激活,免序列号,安装方便快捷! 雨林木风 Vista 2.1 精简版

在 Windows Vista、Windows 7 和 Windows Server 2008 上设置 SharePoint 2010 开发环境

适用范围: SharePoint Foundation 2010 | SharePoint Server 2010 本文内容 步骤 1:选择和预配置操作系统 步骤 2:安装 SharePoint 2010 的必备组件 步骤 3:安装 SharePoint 2010 步骤 4:安装 Visual Studio 2010 和开发人员文档 步骤 5:从已安装的系统创建 Hyper-V 映像 当您创建或自定义 SharePoint 解决方案时,通常最好在安装了 Microsoft SharePoint

Windows Vista 安装和使用指导 - 停止支持后的几条建议

简介 曾经被广大网民吐槽的Windows Vista现在已经淡出了人们的视线,但仍有一些朋友想要体验一下这个操作系统.Windows Vista是Windows发展路线上的里程碑,相比之前的Windows XP,无论是从功能上还是从外观上都有很大的改变,当然还包括比较‘严苛’的配置要求.这让Windows Vista在发布之初就出现各种问题.经过微软的努力修补,如今我们可以看到的Windows Vista已经算是很完善的了.但由于支持期的结束,新安装Windows Vista的用户碰到了新的问题

一个基于Windows Vista speech API5 3以及WPF技术的语音朗读代码

闲暇无事,利用window SDK 与vs2008,基于Windows Vista speech API5.3以及WPF技术开发了一套语音朗读的代码, 牛刀小试, using System;using System.Collections.Generic;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Docume

渗透杂记-2013-07-13 Windows XP SP2-SP3 / Windows Vista SP0 / IE 7

Welcome to the Metasploit Web Console! | | _) | __ `__ \ _ \ __| _` | __| __ \ | _ \ | __| | | | __/ | ( |\__ \ | | | ( | | | _| _| _|\___|\__|\__,_|____/ .__/ _|\___/ _|\__| _| =[ metasploit v3.4.2-dev [core:3.4 api:1.0] + -- --=[ 566 exploits - 283

Install the IIS 6.0 Management Compatibility Components in Windows 7 or in Windows Vista from Control Panel

https://technet.microsoft.com/en-us/library/bb397374(v=exchg.80).aspx Install the IIS 6.0 Management Compatibility Components in Windows 7 or in Windows Vista from Control Panel Click Start, click Control Panel, click Programs and Features, and then

Windows Vista新增的读写锁函数

Windows Vista及更新的Windows客户端系统,Windows Server 2008及更新的Windows服务器系统,新增了读写锁API函数,我们不用再手动编写读写锁了. 要使用读写锁,当然要包含Windows头文件,并定义一个SRWLOCK(结构体)类型的变量: SRWLOCK Lock; SRWLOCK类型的变量,不能手动赋值,不能取其中字段的值,也不能用memcpy等函数拷贝它所占的内存,对它的所有操作(初始化.读锁.写锁等等)只能通过相关的函数来进行. 初始化读写锁的函数是

Windows Vista,生而伟大

本文于2018年12月23日首发于IT之家. 地址:点击这里 笔者看过一篇关于Windows Vista早期原型系统的文章,那篇文章向大家展示了Windows Longhorn的Aero UX演示视频. ▲视频截图:Windows Longhorn原型系统Aero UX演示,完整视频请点击这里 关于Longhorn这个系统,大家很多人已经知道,它是Windows XP的继任者,肩负着微软巨大的希望,虽然这款系统预期的功能最终没能完全实现,可它的成品Windows Vista却对此后的Window

Windows Vista 资讯与版本

Windows Vista,MS 下一代全新的操作系统.全新的风格.全新的使用经验,真的是新的体验! 中国台湾微软在中国台湾发布的五个 Vista 版本如下,可区分为商用与家用两部分 Windows Vista Enterprise (商用进阶版) Windows Vista Business (商用入门版) Windows Vista Ultimate (旗舰版) Windows Vista Home Premium (家用进阶版) Windows Vista Home Basic (家用入门