Software Installation Problems :
I tried to make as much screenshots as possible that show all the different steps, so this installation should be peanuts for you.
- Wamp installation welcome screen (screenshot)
- License agreement (screenshot)
- Where should WAMP be installed? I left this at the default location. (screenshot)
- Start menu folder. (screenshot)
- Start WAMP on startup? Whatever you like best. I checked it because I needed to work with it for the coming 2 weeks and just to make sure everything was running. (screenshot)
- Settings overview before installation. (screenshot)
- Select your webroot folder (screenshot). This is the default but I prefer not to have any workfiles on the same drive as my Operating System in case I needed to format. Therefor I change the location to my D-drive. (screenshot)
- Warning because I changed the webroot folder. You might not get this screen when you stick to the default location. (screenshot)
- Select you default browser. Click OK to use Internet Explorer (screenshot), or browse to the FireFox executable. (screenshot)
- Setup done. Let’s launch WAMPServer. (screenshot)
After the installation
- If everything went alright, you should see a new icon in your systemtray. This indicates that WAMP is or is not running and provides some menu options. (screenshot)
- Test it. Click the tray menu and choose the “localhost” option or open up your browser and point it to http://locahost. You should see a file overview of the files in your webroot. This folder may be blank if you chose another folder than the default webroot folder. (screenshot) If you did choose the default webroot folder you should see the WAMP startscreen. (screenshot)
- In case you didn’t see the WAMP startscreen, copy the files in the default webroot location to the folder you chose as a webroot. (screenshot)
- Click the PHPMyAdmin link under Tools on the WAMP startscreen to check if MySql is running. (screenshot) PHPMyAdmin is a webinterface to control your MySql databases.
Where’s my IIS startscreen on http://localhost?
IIS users (who run ASP for instance) probably noticed that http://localhost normally pointed to the startscreen of IIS. So how can I access my ASP and PHP webapplications on localhost? Simple, you can’t. At least not when you are running WAMP without having modified the configuration.
- Shut down WAMPServer. (screenshot)
- Point your browser to http://localhost. You should see the IIS startscreen, at least when you are running IIS on your computer. (screenshot)
OK, so do I have to shutdown WAMPServer if I want to work on an ASP application and start it again to work on a PHP application? The answer is no! Fortunately there is a way to run both webservers at the same time. All you need to do is change the port number the webserver is running on.
When you type in http://localhost in your browser, it is interpreted as http://localhost:80 by the browser because port 80 is the default http port. A port is just an indication to the computer to start a specific process. By default, on my system, it runs IIS. We will leave port 80 as it is and change WAMP to run on port 81.
- Click the WAMP systemtray icon and choose “httpd.conf” under “Config files”.
- Do a search for “port 80″ in the config file. (screenshot)
- Change it to “port 81″. (screenshot)
- Restart WAMPServer. (screenshot)
- Click the “Localhost” option in the WAMP systemtray menu.
- FireFox opens but you get a security warning. It is trying to open the IIS startscreen. (screenshot) Internet Explorer will show the startscreen without the warning as shown before. The point of this step is to notice that the port 81 we specified in the config isn’t shown in the browser’s url bar. We need to change the links on the menu options in the WAMPServer systemtray menu.
- Open the “wampserver.ini” file in the WAMP installation directory. (screenshot)
- Scroll down to the “Menu.left” settings. (screenshot)
- Notice that the parameters show http://localhost and not http://localhost:81.
- Change the settings to point to port 81. (screenshot) You need to do this 3 times. Once for the “localhost” menuitem, once for the “phpMyAdmin” menuitem and once for the “SQLiteManager” menuitem.
- Exit WAMPServer. (screenshot) Make sure you completely shut down the tool!
- Start WAMPServer. (screenshot)
- Click the “localhost” option in the WAMPServer systemtray menu. It should point to http://localhost:81. (screenshot)
- Open another browser window (Internet Explorer) and point it to http://localhost or http://localhost:80. The IIS startscreen should open. (screenshot)