WAMP Setup Guide - Window 7/Vista


Posted by Ben Johnson on 10 November 2012 | 13 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

http://sourceforge.net/projects/wampserver/files/WampServer%202/WampServer%202.1/WampServer2.1d-x32.exe/download

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

smtp_server=mail.domain.co.uk
auth_username=mail@domain.co.uk
auth_password=password
;pop3_server=
;pop3_username=
;pop3_password=
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

extension=php_curl.dll
extension=php_memcache.dll

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

Added/replace:

log_bin_trust_function_creators = 1
lower_case_table_names=2

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/"
    ** MAKE SURE YOU HAVE FORWARD SLASH AT END
    
<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
    </Directory>
</VirtualHost>

Post your comment

Comments



  • I am glad to have visited this site. It is a well-designed site and also contains useful information for the visitors. www.allassignmenthelp.co.uk is a platform that could prove helpful for the students in getting their academic assignment written. Thus, if you have some problem in writing an assignment, then you can try our assignment writing help.

    Posted by Assignment writing service, 25/11/2016 10:19am (12 days ago)

  • Hi buddy, your blog' s design is simple and clean and i like it. Your blog posts about Online Dissertation Help are superb. Please keep them coming. Greets!!

    Posted by Computer Network Assignment Help, 24/11/2016 6:30am (13 days ago)

  • Our website is No. 1 in MBA Assignment Help. Hire us for Online Business Assignment Homework Help and Writing Service.

    Posted by MBA Assignment Help, 24/11/2016 5:27am (13 days ago)

  • Thanks for Nice and Informative Post. This article is really contains lot more information about This Topic.

    Posted by java programming help, 22/11/2016 12:47pm (15 days ago)

  • im attempting o set up a Wamp server, my isp is Verizon and i have an A90-750015-07 switch, i set up Wamp server to listen in on port 90 , since i hear that port 80 is typically hindered by Verizon, and after that i port sent port 90 to this PC yet every time i write in the ip adress of the switch :90 it says that it cannot interface, each time i enter the ip of the switch alone it takes me inside the setup of the switch. the wamp server work inside my system, when i attempt localhost it works , when i attempt my system ip adress it additionally works yet it doesn't appear to work when i take a stab at utilizing the switch ip:port. on the off chance that anyone could help me out i would significantly welcome it.

    Posted by UK Assignment Writing, 08/11/2016 10:04am (29 days ago)

  • 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 (2 months 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 (1 year ago)

  • Good useful manual, thank you

    Posted by Oleg, 14/11/2015 8:59pm (1 year 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 (1 year 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)

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