HOW TO INSTALL WORDPRESS ON WAMP SERVER
How to Setup, Install & Run a Website on your Local Computer
For WordPress – on an Offline Server – WAMP.
Before you start you have to know which Operating System is installed. You need this information to establish which
software you need (64-bit or 32-bit)
What is WAMP?
WAMP, also called WampServer, is a compilation of Apache web server, PHPand MySQL bundled for Windows computers. You need WAMP to setup your own local server environment and install WordPress on Windows. There are other clients for Windows such as XAMPP, but we use and recommend WAMP. It is free and easy to use.
Installing WampServer on your PC
The first thing you need to do is go to the WampServer website and download the latest WampServer.
WampServer is an open source project and is free to use.
You will be presented with various options on their download page.
Simply choose the one that applies to your Windows (64-bit or 32-bit). When in doubt, select the 32-bit version because it will also work on 64-bit versions of Windows.
Once you have downloaded WampServer, run the installation program and carefully follow on-screen instructions.
At one point during the installation,
WampServer will ask for the location of the default web browser.
By default it will use Internet Explorer, but you can change that to Google Chrome or Firefox by locating the browser in Program Files
You’ll then be prompted again to specify the SMTP server and the email address to be used by PHP. These settings aren’t all that important, so just leave the defaults and click “Next.”
Once installed, you may be prompted to choose your default browser. In my case, You can chose Google Chrome or . Moziller Firefox
Once you are done with the installation, WampServer is now ready to use.
Check if WampServer is Running
If you click “Finish” and the software doesn’t launch and you run into any errors, it might be thatyou don’t have the Microsoft Visual C++ libraries installed on your computer. Apache and PHP won’t run without them.
For Windows 32BIT: Install the Visual C++ 2010 SP1 Redistributable Package x86 : VC10 SP1 vcredist_x86.exe
For Windows 64BIT: Install the Visual C++ 2010 SP1 Redistributable Package x64 : VC10 SP1 vcredist_x64.exe
Depending on your local machine, you may have to install one or both of these files. If WampServer still doesn’t work, trying installing Visual C++ Redistributable for Visual Studio 2012 Update 4.
If you continue to have any issues, check out the WampServer forums.
If any security warnings pop up, such as firewall warnings, be sure to allow access otherwise the software won’t work.
If you click “Finish” and the software does launch, a WampServer icon will appear in the systems tray.
The color of the WampServer icon allows you to quickly determine the status of your servers.
- If the icon is red, the server isn’t running and is offline. You may need to restart WampServer or check out the WampServer forums for more help.
- If it is orange, the server is partially running, i.e. Apache may be running and the MySQL service is offline. Click on the WampServer icon and check the service status next to Apache and MySQL to see if they are running. You may need to restart WampServer, and if it still doesn’t work, check out the WampServer forums.
- If the icon is green, it means the server is running and you should be able to access localhost from your browser.
To test it, go to “localhost” in your browser.
Setting Up Your MySQL Database For Your Site
Click on the Wampserver icon in windows taskbar and then click on phpmyadmin.
WampServer comes with phpMyAdmin, a web based application to manage MySQL databases.
A new browser window will automatically open with the phpMyAdmin interface.
Click on “Databases” near the top-left and you’ll be prompted to create a new database. I’ve called mine “WP”.
When you’ve entered a name, click “Create”
Very easily setting up a new MySQL database for WordPress.
Download and Install WordPress
Download the latest version of WordPress.
The next step is to install WordPress. You will need to download a copy of WordPress from WordPress.org.
In order to get WordPress working with WampServer you need to unzip the downloaded WordPress to the right folder by navigate to the folder where you installed WAMP.
Extract WordPress to the Drive C:/wamp/www/ folder, in your PC
You can rename the WordPress folder whatever you like. For the sake of this tutorial, we renamed it wordpress
Next, open your WordPress folder, find the wp-config-sample.php file and rename it wp-config.php.
Open the file and scroll down until you see the following lines:
These lines of code define the login details for your database. Replace “database_name_here” with the name of your database, which in my case is “WP.”
Replace “username_here” with “root” and leave “password_here” blank.
Save the file and close it.
Now we can get on with installing WordPress.
Open your browser and go to http://localhost/wordpress/
You should see the welcome screen for the famous five minute WordPress installation process.
Please Enter your details
Site Titel: Liyonzy Designs
User Name: Liyonzy
Confirm Password: ************
Note: Use Something You Can Remember All The Time.
Email: [email protected]
and click “Install WordPress.”
After this you will see a screen informing you that WordPress has successfully connected to your database.
You can then proceed to your WordPress dashboard by clicking on the Log in button.
Congratulations, you have successfully installed WordPress on a windows computer using WAMP.
Troubleshooting WAMP Skype Error
If you have Skype installed and running, then WampServer may not be able to work properly due to a conflict with Skype. The conflict is caused by both Apache and Skype using the same port 80. There is a simple fix for this problem. Open Skype and go to Tools » Options. Click on Advanced and then Connections. Uncheck the box that says Use port 80 and 443 as alternatives for incoming connections. Save options and restart Skype.
Enabling Pretty Permalinks in WAMP
Pretty permalinks will not work by default on your local server environment. All your URLs will look like localhost/mysite/?p=18. If you go to Settings » Permalinks and use one of the other options, then it will show you “page not found” errors.
Remember, if you want to start a blog for other people to see, then you do not need to install WordPress on your computer. You need to install WordPress on a web hosting provider.
I hope this article helped you install WordPress on your Windows computer using WAMP.