WAMP stands for Windows-Apache-MySQL-PHP.
When it goes for Linux it is LAMP and MAMP for Mac.
2. Install WAMP server.
- go to download and select the package regarding your platform.
- http://www.wampserver.com/en/

- Run the downloaded exe file.
- if there's msvcr110.dll is missing message, you have to istall Visual C++ Redistributable Packages from http://www.microsoft.com/en-us/download/details.aspx?id=30679.
- 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/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.
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