Installing WordPress Locally using WAMP Server

If you would like to use the self-hosted WordPress blog platform using a paid web hosting service, but do not have experience installing web-based programs and want to save money in the event that it is not needed, it can be tried out before purchasing a monthly service. Installing WordPress locally has a lot of benefits for beginners and for those who want to learn more about the blogging platform without modifying existing files on a live installation. This guide shows you how to install WordPress on a Windows operating system using WAMP (Windows, Apache, MySQL, and PHP) to use the software as if it was on a web host.

Downloading and Installing WAMP Server

Download the latest version of WAMP from the WAMP website. The package contains up-to-date versions of Apache, MySQL, and PHP 5 that are required to run WordPress. After downloading the package, begin the setup by clicking on the installer and follow the on-screen instructions. After the installation is complete, you can now add HTML and PHP files within the “www” folder, normally located on the root of the hard drive under “C:\wamp/www” where the “C” can be changed to the drive where WAMP was installed.

Using WAMP

After installing WAMP, you will have a working localhost server. The local WAMP page can be accessed by typing “http://localhost” or “http://127.0.0.1″ in the address bar in the browser. The WAMP page shows basic information on installed addons and shows shortcuts to access the PHPMyAdmin interface to manage MySQL databases. Also by using WAMP, PHP files from the hard drive can be viewed properly in a browser; unless WAMP is installed, PHP files cannot be viewed the same way as viewing a HTML document elsewhere on the drive.

Installing WordPress

Once the WAMP installation is complete, it is time to install WordPress. Download the latest version of WordPress from the official website. After the download is complete, extract the “wordpress” folder in the “www” directory. This is where all website projects using WAMP is stored; the files outside of this folder cannot be displayed when viewed with the browser.

Before proceeding with the installation, a MySQL database needs to be created. Using PHPMyAdmin, create the database using the form on the main page using a unique name; remember this name for the WordPress installation. Since WordPress is being used for the first time, there is no need to create a database password on a localhost, but a password is required on the live website.

With the web browser open, go to “http://localhost/wordpress” and follow the on-screen instructions to begin the installation process. When creating the wp-config.php in install program enter

Database name

User name can be root or the name you gave when creating the database.

Password leave it blank if root is used as username

or enter password you used when creating a user for database.

You can leave rest as is and click create and follow instructions of install program.

After finishing the installation, you now have a copy of WordPress installed locally to use before going live on a paid hosting service. Using local WordPress installations is also useful for advanced WP users for testing plugins and themes. Once you are familiar with WordPress, you can choose to install WordPress the same way during the WAMP installation or with One-Click scripts such as Fantastico with web hosts that use cPanel.

The videos will walk you through on installing Wamp Server and install wordpress so that you can practice using all features of wordpress and Video Tutorial will teach you how to use admin panel.

This are the changes you will need to make in three files so that you are not timed out while working on a Wamp Server. You will need browse to Wamp folder on the drive you installed server.
Using text editor like Notepad++ (free to Download) you will makes Changes in

YouTube Preview Image

C:/wamp/bin/apachie/Apache2.2.17/ bin/php.ni
Search and change values

post_max_size = 750M
upload_max_filesize = 750M
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M
and save file

in apps config

C:\wamp\apps\phpmyadmin3.3.9/config.inc.php
add
// maximum execution time in seconds (0 for no limit)
$cfg['ExecTimeLimit'] = 300;
and save the fill In

C:/wamp/bin/apachie/Apachie2.2.17/conf/httpd.conf
enable mod_rewrite by deleting # on line 116 and save the file

YouTube Preview ImageHow To Install WordPress On Wamp Server

Avatar of Govindji Patel

About

I am Author/Publisher WordPress Coach and Consultant who enjoys writing tutorials and helping wordpress users build better WordPress website/blog.

Related Posts

  • nic

    Thank you for the video tutorials. They were most helpful

    Kindest regards,

    nic:-)

  • oz

    Thanks for your tutorial. Is very detailed. Do happen to know why when I test my site without wamp video plays. However, with wamp video freezes. I see the video controls but they are frozen. Again Thanks for your time. This really helped to get started with this setup. Best of luck!

  • Glad to know that my tutorial has helped you.I do not have that problem the videos play fine on my Wamp server may be there some setting on your computer causing the problem.

  • Raymond

    I have not been able to get past the initial db installation for WP 3.2.1 in my local WAMP Server installation. I’ve tried everything I can think of and now can’t use your videos because attempts to register as a user on your site seem to work but I’ve not received a confirmation email and so can’t login.
     
     

  • I have approved you and you should have received a email if not let me know your user name is caliray and wordpress created a password as I approved you can change it in profile.

    let me know else i will send email with user name and password

    Did you check if the email went in spam folder or junk folder

  • Bruce

    I have, via Filezilla, downloaded all the files from my Host into //www/police&railway/ and have installed WP 3.2.1 into that folder, But, stand on my head i cannot get past the statement “cannot establish….”
    Please help

  • Bruce can you clarify more on what you trying to archive as what you have posted does not clarify where you trying to install wordpress and what error you are getting.

  • I am new at this so bear with me. If I am going to pay for my web hosting, why do I still need to download and install WAMP? Thanks.

  • You can use Wamp to learn how to use wordpress if you do not have host account
    or
    like my self I use wamp to test plugins and themes locally on wamp to see if it does work and is compatible before I install on my live website.

  • I have been trying to no avail, since early October to clone my live website onto my local host.
    I have used Wamp, Xampp and individually installed A,M and P.

    These all work OK (I think!) but whenever I try to Download the “data” from my live website, I get absolutely lost.

    Today I have uninstalled and deleted all relative (this time another Xampp installation) files for the 8th recorded time.
    I am at my wits end

  • If you trying to clone the wordpress all you need to do is have working wordpress installed in your wamp or Xampp export the database from live online wordpress and search and replace urls using notepad++ to localhost. and import in wamp or Xampp

    Download wp-content folder and replace wp-content folder in wamp or Xampp.
    Change database info in wp-config.php file.

  • I tried to install that but having problem with the setup.

  • Marga need to know details of what problems you having setting up Wamp

  • A video tutorial mostly helpful for the beginners like me.

  • I can’t find where’s the setup icon in Wamp.I would like to ask someone’s help please :(

  • What set up icon you looking for in Wamp. The video tutorial walks you through on how to set up Wamp and wordpress locally.

  • Mike

    This was a great tutorial, thanks! Everything appears to work fine, except for when I change my page permalinks from the standard default setting, to post name setting. I get a 404 response. Any ideas on why this is? If i use the default permalink setting they appear, if I try to customize the permalink i get a 404. Odd!

  • Mike that is because you have not got Mod_rewrite ON if you check article you need make change in this file on Wamp .
    C:/wamp/bin/apachie/Apachie2.2.17/conf/httpd.conf
    switch ON mod_rewrite by deleting # on line 116 and save the file

  •  You sure know everything about WordPress. Thanks for putting up this blog for WordPress newbies like me.

  • I tried to install that once after extraction but it seems that there is no  icon for setup.

  •  Did you follow the video on how to install Wamp server and how to install wordpress it need to go in www folder

blog comments powered by Disqus
Premium wordpress theme
Skype Status
Need Help with Wordpress Chat with me - Govindji Patel: My status is Away
» Get Skype, call free! If Offline please leave Message
Become A Fan
Free Report

WordPress Optimization Secrets

Get Your Blog To Rank Higher

Register and Download Free Report

Twenty Eleven Child Theme

Upgrade and get set of 35 videos on

how to create and customize child theme

Buy Me Coffee
Donation



Other Amount:



I appreciate a donation if you find my tutorials helpfull :



Your privacy will never be compromised or shared.
Congratulations

Thank you for Subscribing Please check your email for a confirmation email