JLBN – Setup Drupal on WAMP
Drupal is a free software package that allows an individual or a community of users to easily publish, manage and organize a wide variety of content on a website. Drupal is open-source software distributed under the GPL (“GNU General Public License”) and is maintained and developed by a community of thousands of users and developers.
Note: Even this guide is used for Wampserver, you can apply this method on other wamp package such as Xampp, EasyPHP, so on. Just make sure to select correct file(s) in proper location(s)
8 thoughts on “JLBN – Setup Drupal on WAMP”
Thanks, this worked. I had tried something similar before, but didn’t know all of the steps.
I want to do something slightly different: I want to take an existing Drupal website and copy it and run it on my local wamp installation. (I would like to run more than one Drupal site.) I tried copying the files to C:\wamp\www\mysite and copying and installing the database. When I go to localhost/mysite, the site works but any embedded graphics files on pages do not appear. They point to src=’/sites/default/files/file.jpg’ but don’t display since they need to be /mysite/sites/default/files/file.jpg. I tried to use wamp alias directories, but I get the same result. Any idea how to get the file pointers to resolve correctly?
Bill, I didn’t personal test this but it should work without issue.
1. Use our “Setup Virtual Hosts on WAMP” guide to create a local domain, for example: mylocaldrupal
2. Move all your files from your current website to the folder that’s used to setup local domain.
3. Use our “Setup Database Account” guide to setup username and password for database and make sure they are the same as you’re using for your current Drupal site. Don’t worry about the host name.
4. In settings.php file, set $base_url to “http://mylocaldrupal”
You might have to restart Wamp or your computer to take effect, but that’s all you need 😉
Wonderful website, companion! JLBN | JLBN – Setup Drupal on WAMP is actually something. I am starting acquire shortly and that i will truly duplicate areas of yours, by law obviously 🙂
I followed the steps that you point to in your response. Two differences:
1) I did not download from the link on step 1 because I didn’t see it for some reason. Instead I went to a different tab on your website.
2) When it finished downloading it was on my desktop but in my Download folder instead. I extracted there and then moved the drupal folder to www and typed, as shown in Step 3 ‘http://localhost/drupal/’ into my browser (not sure if it was IE or FireFox). This crashed so I added install.php to it which ran but generated the error. My final browser entry was ‘http://localhost/drupal/install.php’.
It doesn’t look like drupal is an installed product on my machine, so if I were to start over, I assume I can just delete what I have and do it again. Correct?
Ted, make sure you don’t have folder Drupal in another folder Drupal since you should have the installation screen when having in the browser the address http://localhost/drupal/
J L B N | JLBN – Setup Drupal on WAMP was a wonderful read. I love it, I can read this stuff forever, keep em coming!
Step by step instructions are clear and easy to follow. Thank you.