How to setup WordPress in EasyPHP
ADVERTISEMENTSWhat do you do when you want to test WordPress Themes and Plugins before activating them on your blog? Do you test them online and waste bandwidth? Well, there is a better way. With EasyPHP you can test WordPress Themes and Plugins offline. EasyPHP is a program that allows to easily install Apache, MySQL and PHP.
Here I will show you how to setup WordPress in EasyPHP. Before continuing download the latest version of WordPress and EasyPHP.
After installing EasyPHP you will find it has a www folder. If you installed the program in the default directory, the path will be C:\Program Files\EasyPHP1-8\www. Unzip WordPress into the www folder, in a folder called ‘WordPress’.
Now open wp-config-sample.php and find the following code
define('DB_NAME', 'wordpress');
define('DB_USER', 'username');
define('DB_PASSWORD', 'password');
define('DB_HOST', 'localhost');
This is where you define the MySQL settings for WordPress. Enter the Database name,username and password. You do not need to change the host name. These are the settings I am going to use
define('DB_NAME', 'wpblog');
define('DB_USER', 'johntp');
define('DB_PASSWORD', 'password');
define('DB_HOST', 'localhost');
Save the file and rename it to wp-config.php
Double Click the EasyPHP icon on the system tray. Click the ‘e’ icon and select Administration
Now click Manage Database. The page you see now is the phpMyAdmin. From here you can create the Database for Wordpress. Under Create New Database enter the database name you entered in the wp-config.php file and click Create.
Click the back button of your browser and go to Privileges. To create a new user click Add a new user.
Enter the login information that you had earlier entered on wp-config.php. Click Check All and then Go.
Now enter http://127.0.0.1/wordpress/wp-admin/install.php in your browser. If you have configured the database properly, you will be presented with this page
Click First Step. Enter your Weblog title and email address and click Continue to Second Step. You will now be given a username and a random password. Note that password carefully!
If you lose it, you will have to delete the tables from the database yourself, and re-install WordPress.
That’s it! You just setup Wordpress on EasyPHP.
You can login by going to http://127.0.0.1/wordpress/wp-login.php. You can change your password by going to Users in the WordPress Admin Panel.
Search JohnTP.com or view a random post
Related Articles
- EasyPHP is the Solution
- WordPress Plugin: Feed Count
- XDTalk Plugin for WordPress
- Three Column K2 Theme
- WordPress Plugin: WP-phpMyAdmin
Find out what I am doing currently by .
Posted on June 3rd, 2006 | Category: Softwares, Tutorials, WordPress |
Madhur Kapoor
June 3, 2006 at 1:25 pm
Nice Tutorial John. But while entering the MySQL information , do we need to enter our site\’s info?
Shivaranjan
June 3, 2006 at 2:30 pm
Thanks John for the Tutorial. And it will be useful for people like me…
CypherHackz
June 3, 2006 at 3:47 pm
I use WampServer. You can download it for free here: http://www.wampserver.com
johntp
June 3, 2006 at 4:05 pm
Madhur- dataone information? Are you talking about the MySQL settings?
Abhinav
June 3, 2006 at 5:03 pm
I prefer webserver on stick. It’s great for working on the move.
Cory
June 3, 2006 at 6:21 pm
yea, i use something like webserver on a stick as well and its great
johntp
June 4, 2006 at 9:20 pm
Madhur- You just have to enter the Database name, username and password in the MySQL settings.
Sam
July 31, 2006 at 2:25 pm
Hello,
I have surfed on the net I have found your blog. It’s amazing.
newskoo
August 3, 2006 at 12:22 pm
so nice. thanks a lot. it helps me solve a lot of problems
Armchair Anarchist
August 20, 2006 at 11:23 pm
Hey there John, wondered if you could tell me what I’m doing wrong?
I followed the instructions exactly as above, and everything works fine until the wordpress installation process, where it just seems to hang with the ‘creating tables and filling them’ message for (literally) as long as I care to leave it.
Having tried this a couple of times, if I exit from that screen and try to login to the installation, all the tables have been entered (as can be seen in the PHPmyadmin screens), but of course I don’t have the damned password to login with! I’m thinking that maybe it hangs up because it’s trying to send an email from a non-existent server? Very frustrating!
Can you spare me any admice here? Is there any way to retrieve the password from the data in the tables?
Venu
August 21, 2006 at 1:18 am
I use xampp for the same.. works like a charm
i had a post written on it back some time :
http://www.venukb.com/blog/200.....ress-blog/
chaitu
September 19, 2006 at 12:01 pm
Hi
Thanks its nice and it helped me a lot in installing APache
Daniel
September 25, 2006 at 9:11 am
Hey
I followed ur instructions to install EasyPHP now it is working thanks yaaaaaaar.1031 exchanges
Margret
November 18, 2006 at 2:22 pm
Hello,
I have surfed on the net I have found your blog. It’s amazing.
dyohanan
November 18, 2006 at 11:21 pm
Hi John I have to tell you that I spend 15 minutes since I download both programs and installed on my computer. This tutorial is for simply mortals.
I visited your blog for a while and I think is one of the best I saw ever. Congratulations and continue with your great job on this blog.
dyohanan
November 24, 2006 at 12:05 am
Everything works just fine, but I have a question, how can I export all the info I enter here to my server database?