WAMP Setup Guide - Window 7/Vista

Posted by Ben Johnson on 10 November 2012 | 8 Comments

Tags: ,,,,,

This is a quick reference guide on setting up WAMP for development on Windows 7 with:

  • Memcached
  • Send Mail

1. Download/Install WAMP.

Latest is not always the best and well supported. I had a issue with ionCube only suport 32 bit versions of PHP


Apache: 2.2.17
MySQL: 5.5.8
PHP: 5.3.4

Set auto start: Right click My Computer -> Manager -> Services and Applications -> Services:

Enabled services: "wampmysqld/wampapache", right clicking select properties and set to Auto.

Also WAMP can sometimes cause conflict with Skype when they try to start together.

2. Memcached

Download: http://code.jellycan.com/memcached into: c:\wamp\memcached

Edit properties of memechaced.exe set "Run as administrator"

Run -> cmd
- c:\wamp\memcached\memcached.exe -d install
- c:\wamp\memcached\memcached.exe -d start
- c:\wamp\memcached\memcached.exe -d runservice -m 512 (increase memory limit)

Download: http://code.google.com/p/thinkam/downloads/detail?name=php_memcache-cvs-20090703-5.3-VC6-x86.zip
Into: c:\wamp\bin\php\php5.3.4\ext\php_memcache.dll

php.ini add: extension=php_memcache.dll (or do this all later)

3. Send Mail

Download: http://glob.com.au/sendmail into: c:\wamp\sendmail
Update setting with your email address or make up a testing gMail account. Ensure you enable the settings in gmail to allow external

hostname= yourdomain.co.uk

3. Set Apache Settings

From the WAMP icon on the desktop, left click: Apache -> Apache Modules

Enabled the follows, or ensure they are selected:

  • autoindex_module
  • expires_module
  • filter_module
  • headers_module
  • rewrite_module
  • vhost_alias_module (c:\wamp\bin\apache\Apache2.2.17\conf\extras)

4. Set PHP.ini Settings

From the WAMP icon on the desktop: PHP -> php.ini (Or manually open from C:\wamp\bin\apache\Apache2.2.17\bin\php.ini)

Find/Update the following options. Manily so there is no limit whne importing into phpmyadmin and you can run large utility scripts via the browser.

post_max_size = 256M
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M
upload_max_filesize = 750M
include_path = ".;c:\wamp\www\php\includes"
sendmail_path = c:\wamp\sendmail\sendmail.exe –t


Create the php include directory: c:\wamp\www\php\includes

MySQL Settings:

To fix this error: ERROR HY000: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA

From the WAMP icon open: MySQL -> my.ini


log_bin_trust_function_creators = 1

Fix Apache Auto Index Icons:

Edit: c:\wamp\bin\apache\Apache2.2.17\conf\extra\httpd-autoindex.conf
Find: "/httpd-2.2-x64/icons" or some reference to a locations/folders and replace with:

Alias /icons/ "c:/wamp/bin/apache/Apache2.2.17/icons/"
<Directory "c:/wamp/bin/apache/Apache2.2.17/icons">

Example vHost:

<VirtualHost *>
    ServerName www.example.local
    ServerAlias example.local *.example.local
    DocumentRoot "c:\wamp\www\"
    <Directory "c:\wamp\www\">
        Options Indexes FollowSymLinks Includes
        AllowOverride All
        Order allow,deny
        Allow from all

Post your comment


  • Thanks for sharing the wamp set up guide for windows vista. The guide is very helpful for people like us who are not so familiar with the new operating system. I appreciate your help.

    Posted by directv select package, 29/09/2016 10:55am (23 days ago)

  • I faced some difficulties with setting of MySQL setting and the installation of the WMPA setting, I took the screenshot and already sent email, but unfortunately I dod not get any reply from the authority! Would you please tell me where I should contact for quicker response?

    Posted by custom essay paper writing companies, 20/11/2015 7:04am (11 months ago)

  • Good useful manual, thank you

    Posted by Oleg, 14/11/2015 8:59pm (11 months ago)

  • Fine information, many thanks to the author. It is puzzling to me now, but in general, the usefulness and importance is overwhelming. Very much thanks again and best of luck!

    Posted by Daniel E. Powers , 06/11/2015 10:38pm (12 months ago)

  • The process of downloading this software looks so useful and the process of installation should be easy to work and the web developer should learn more about this software action.The My SQL setting makes the people easy to understand about it's function.

    Posted by custom essay paper writing companies, 17/10/2015 3:16pm (1 year ago)

  • Thanks for giving good information though the content and I really like to know more on this kind of topic.

    Posted by marketing essay writers, 16/10/2015 6:05am (1 year ago)

  • Hello Ben Johnson! I just to say that after reading fully yoru archive. It is good for me specially because I desire to foucs on this kind of topic through which I can add some knowledge for gaining my experienced.

    Posted by Accounting Assignment Example, 28/09/2015 7:28am (1 year ago)

  • I also enjoy reading the comments, but notice that a lot of people should stay on topic to try and add value to the original blog post. I would also encourage everyone to bookmark this page to your favorite service to help spread the word. I'll use this information for my essay topics.

    Posted by http://topassignmentwriters.com, 24/08/2015 10:12pm (1 year ago)

RSS feed for comments on this page | RSS feed for all comments