Eclipse + XAMPP + Wordpress system setup in Windows Vista

Source: Internet
Author: User
Tags php server wordpress database wordpress blog

Setup the Eclipse + XAMPP + Wordpress debugging system in my Windows Vista system, it takes quite considerable effort to F Igure out the workable-the-these, record down the procedure.

1, download and install the eclipse,

You might has 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.

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's Helios Packages, other versions might needs T He Java 1.7 Support, my system installed Java, with Eclipse downloaded and installed, the PHP plug-in are ready to be us Ed.

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 would be successfully created,



At this moment, the eclipse would return some HTML syntax error (duplicate tag and unclosed start tag), this is Cau Sed 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 would be unsafe.

To create the root password for the MySQL, in the PhpMyAdmin window, select SQL tab from the right panel. This would open the SQL tab where we can run the SQL queries, input the SQL command "UPDATE mysql.user SET Password=passwor D (' Root_password ') WHERE user= ' root ' "


Now you'll see a message saying so the query has been executed successfully. If you refresh the page, the PHPmyadmin would return the error as below,


The MySQL root password is configured in the PHPmyadmin configuration file, [XAMPP installation Path]/PHPMYADMIN/CONFI G.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 had a backup from my WordPress blog, first you nee D to create the database, click the New button,



Click the "Check privileges" to add the Username/password


The username and password should is 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 AB Ove



Now the WordPress database was successfully imported to local MySQL data base and you can debug with this environment you have Setup



yeah! Start to enjoy your journey of WordPress now!



Eclipse + XAMPP + Wordpress system setup in Windows Vista

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.