Vous êtes sur la page 1sur 4

NITTE MEENAKSHI INSTITUTE OF TECHNOLOGY

(AN AUTONOMOUS INSTITUTION, AFFILIATED TO VISVESVARAYA TECHNOLOGICAL UNIVERSITY,


BELGAUM, APPROVED BY AICTE & GOVT.OF KARNATAKA

COURSE-IMPLEMENTATION REPORT
on
“WAMP SERVER”
Submitted in partial fulfillment of the requirement for the award of Degree of
Bachelor of Engineering in
Information Science and Engineering
Submitted by:
Abhishek Chunamari 1NT16IS002
Eshwar S Devaramane 1NT16IS038
Hemanth Ramesh 1NT16IS046
Dileep Kumar S 1NT16IS037

Under the Guidance of Mr.BALACHANDRA


Assistant Professor,
Department of ISE
WAMP SERVER LOCAL HOST
Stands for "Windows, Apache, MySQL, and PHP." WAMP is a variation
of LAMP for Windows systems and is often installed as a software
bundle (Apache, MySQL, and PHP). It is often used for web development
and internal testing, but may also be used to serve live websites.

The most important part of the WAMP package is Apache (or "Apache
HTTP Server") which is used run the web server within Windows. By
running a local Apache web server on a Windows machine, a web
developer can test webpages in a web browser without publishing them
live on the Internet.

WAMP also includes MySQL and PHP, which are two of the most
common technologies used for creating dynamic websites. MySQL is a
high-speed database, while PHP is a scripting language that can be used
to access data from the database. By installing these two components
locally, a developer can build and test a dynamic website before
publishing it to a public web server.

While Apache, MySQL, and PHP are open source components that can
be installed individually, they are usually installed together. One popular
package is called "WampServer," which provides a user-friendly way to
install and configure the "AMP" components on Windows.
HOW TO CONNECT DEVICES USING WAMP SERVER

Connect the PC on which you have setup XAMPP / WAMP Server (and your test
website) to a Wi-Fi router or an ADSL + WiFi Router.

In case you have a BSNL or MTNL or any landline internet connection you will have
one of this already.

Note the IP address (In the local network) of your PC where you have XAMPP /
WAMP Server installed.
Now Apache needs to know what to do with these IP addresses, so find the httpd.conf
file first, mine was here:
1. C:\wamp\bin\apache\Apache2.2.11\conf\httpd.conf
Find the line:
1. Listen 80
and change it to add your IP addresses with the port:
1. Listen 192.168.2.100:80
2. Listen 192.168.2.110:80
Further down in this file you need to configure the access to the directories that host
your sites, like this:
1. <Directory "c:/wamp/www/test_website_aaaaaa/">
2. allow from all
3. </Directory>
4.
5. <Directory "c:/wamp/www/test_website_bbbbbb/">
6. allow from all
7. </Directory>
Save and close the file. Now find the httpd-vhosts.conf file, mine was here:
1. C:\wamp\bin\apache\Apache2.2.11\conf\extra\httpd-vhosts.conf
Here you need to add VirtualHost directives to point the IP address at your folders,
like this:
1. <VirtualHost 192.168.2.110:80>
2. DocumentRoot "C:/wamp/www/test_website_aaaaaa"
3. </VirtualHost>
4.
5. <VirtualHost 192.168.2.110:80>
6. DocumentRoot "C:/wamp/www/test_website_bbbbbb"
7. </VirtualHost>
Save and close the file, and restart the Apache service.

DO NOT USE YOUR INTERNET IP BUT ONLY LOCAL NETWORK (LAN) IP


ADDRESS
Now take your laptop , mobile or tablet, connect it to the same network (via WiFi)
open Chrome browser and type the IP address noted earlier.
You can have an actual view of how your website will display in a particular device.
In fact this is the actual procedure I use to test Responsive websites.

OR ANOTHER EASY WAY TO CONNECT PHONE AND LAPTOP IS:


 Create a website using wamp server and php applications.
 Connect your phone and laptop to a common hotspot connection.
 Open the website in the laptop using the normal url which looks
like localhost/xyz/abc.php
 Now get the IP address of the laptop.
 Open chrome browser and enter the same url as in the laptop but
the only change required is to replace the localhost with the IP
address of the laptop which will look like IP address/xyz/abc.php
 The two devices are connected using a wamp server.

Vous aimerez peut-être aussi