Wednesday, March 26, 2014

How to install WAMP Server and getting started web development.

1. What is WAMP?
WAMP stands for Windows-Apache-MySQL-PHP.
When it goes for Linux it is LAMP and MAMP for Mac.

2. Install WAMP server.















3. Start up WAMP server.
  • choose "start WampServer" from the "Start" menu; or run "wampmanager.exe".
  • You can see WAMP Server icon from tray as below.


4. Start service.
  • Left mouse buton click on WAMP Server icon.
  • Select 'Start All Services'.
  • Make sure if the WAMP Server icon is green.
  • If 80 port is used by another process, the Apache server cannot be started.

  • If the server is running properly, you can access to web pages.
          http://localhost/
          http://localhost/phpmyadmin/

5. Folder structures.
  • bin : binaries for Apache, MySQL, and PHP. Multiful version can be installed.
  • apps : server-side tools such as PhpMyAdmin, SQL Buddy and WebGrind.
  • tools : client-side tools such as xdc(XDebug Client).
  • www : web root
  • logs : log files.
  • alias : appache's alias configuration.
6. Helloworld app.
Create helloworld.php in www folder(web root).
Add this codes.

<?php echo 'Hello world!';?>

You can see the result at....
http://localhost/helloworld.php


No comments:

Post a Comment