Introduction of WAMP Server
Windows, Apache, MySQL, PHP
Ajay Di Sharma
http://mpstudy.com/
Contents
 Introduction of WAMP Server
 Benefit of WAMP
 Downloading WAMP
 Installing WAMP
 Problem occurs in installation
 Icon Notification
 WAMP Control Panel
 WAMP Directories
 Testing WAMP Server
 Creating A MySQL Database With WAMP Server
 Configuring WAMP
 Shutting down WAMP Server
 Uninstalling WAMP
Introduction of WAMP Server
 WAMP Server is a Web development platform on Windows that allow your
to create dynamic Web applications with Apache , PHP and MySQL.
 This is a open source platform
 Windows – The Operating System
 Apache – HTTP(web) Server
 MySQL – The relational database management system
 PHP – The object-oriented scripting language
Introduction of WAMP Server (cont.)
 WAMP- Windows, Apache, MySQL and PHP
 LAMP- Linux, Apache, MySQL and PHP
 MAMP- Mac, Apache, MySQL, and PHP
 XAMPP- For major operating system including windows, Mac, Linux ,
Apache, MySQL, and PHP
Benefit of WAMP
 The stack also comes with
 Xdebug – tool for PHP debugging
 PHPMyAdmin – A web tool for administrating MySQL databases
 Webgrind – profiling tool for PHP
 Some nice configurations (really easy to start developing, not
configuration)
Downloading WAMP
 Go to http://www.wampserver.com/en/download.php
Installing WAMP Server
 To start the installation process double-click the installer file.
Problem #1- Missing MSVCR100.dll
 The MSVCR100.dll file is on of the part of the Microsoft visual C++
 Install this file to solve this problem
 Download this from-
 For Windows 32 bit: http://www.Microsoft.com/download/en/details.aspx?id=8328
 For Windows 64 bit:
http://www.Microsoft.com/download/en/details.aspx?id=13523
Problem #1- Missing MSCVR100.dll (cont.)
Problem #2- Collision with Skype
Problem #3- Collisions with other HTTP
Server
 There may be XAMMP or IIS installed too
 The best solution is to change the port
 Form the tray icon, left click and
• Go to Apache -> httpd.conf
• Search for “Listen 80”
• Replace with “Listen 8080” or other
• Access http://localhost:8080/
Icon Notification
 User should see the WAMP Server icon appear in the right side of your taskbar. If
the icon is green, then everything is working properly. If the icon is orange, then
there are issues with one of the services. If the icon is red, then both Apache and
MySQL services aren’t running. You will need to resolve those issues before
continuing.
WAMP Control Panel
 This is the WAMP icon
 All configurations are there- PHP, Apache, MySQL
 If the Icon is green- the service are up and running
WAMP Directories
 Lets have the default installation directory- c:/wamp/
 The directory of interest is www/ and it’s called webroot (or document root)
 PHP Files are put in the webroot (c;/wamp/www/)
 C:/wamp/www/ map to http://localhost
 For example- c:/wamp/www/project/scirpt.php map to
http://localhost/project/script.php
 If no file is specified, Apache looks for index.php
Testing WAMP Server
 Open your Web browser and type-http://localhost/. You should see the WAMP
Server homepage displayed.
Creating Database using WAMP
 Creating a database in WAMP Server is done via phpMyAdmin. You can access
phpMyAdmin by entering http://localhost/phpmyadmin/ in your web browser.
WAMP Configurations
 Httpd.conf- Text file with Apache related configuration (i.e. webroot, port for http
listening, etc)
 Php.ini- Text file with PHP related configuration (i.e. short tags, upload file size, etc)
 My.ini- MySQL related configuration (i.e. password, query buffers, caches, port, etc)
Shutting down WAMP Server
 To shut down WAMP Server, click on the systray icon and select stop all services
to shut down the Apache and MySQL server.
 Next you will right-click on the WAMP Server systray icon and click Exit to close
the program.
Uninstallation of WAMP Server
 Go to wamp folder and click on unins000 file(icon)
Thank You……!!!!

Wampserver installation ajay-di-sharma

  • 1.
    Introduction of WAMPServer Windows, Apache, MySQL, PHP Ajay Di Sharma http://mpstudy.com/
  • 2.
    Contents  Introduction ofWAMP Server  Benefit of WAMP  Downloading WAMP  Installing WAMP  Problem occurs in installation  Icon Notification  WAMP Control Panel  WAMP Directories  Testing WAMP Server  Creating A MySQL Database With WAMP Server  Configuring WAMP  Shutting down WAMP Server  Uninstalling WAMP
  • 3.
    Introduction of WAMPServer  WAMP Server is a Web development platform on Windows that allow your to create dynamic Web applications with Apache , PHP and MySQL.  This is a open source platform  Windows – The Operating System  Apache – HTTP(web) Server  MySQL – The relational database management system  PHP – The object-oriented scripting language
  • 4.
    Introduction of WAMPServer (cont.)  WAMP- Windows, Apache, MySQL and PHP  LAMP- Linux, Apache, MySQL and PHP  MAMP- Mac, Apache, MySQL, and PHP  XAMPP- For major operating system including windows, Mac, Linux , Apache, MySQL, and PHP
  • 5.
    Benefit of WAMP The stack also comes with  Xdebug – tool for PHP debugging  PHPMyAdmin – A web tool for administrating MySQL databases  Webgrind – profiling tool for PHP  Some nice configurations (really easy to start developing, not configuration)
  • 6.
    Downloading WAMP  Goto http://www.wampserver.com/en/download.php
  • 7.
    Installing WAMP Server To start the installation process double-click the installer file.
  • 18.
    Problem #1- MissingMSVCR100.dll  The MSVCR100.dll file is on of the part of the Microsoft visual C++  Install this file to solve this problem  Download this from-  For Windows 32 bit: http://www.Microsoft.com/download/en/details.aspx?id=8328  For Windows 64 bit: http://www.Microsoft.com/download/en/details.aspx?id=13523
  • 19.
    Problem #1- MissingMSCVR100.dll (cont.)
  • 20.
  • 21.
    Problem #3- Collisionswith other HTTP Server  There may be XAMMP or IIS installed too  The best solution is to change the port  Form the tray icon, left click and • Go to Apache -> httpd.conf • Search for “Listen 80” • Replace with “Listen 8080” or other • Access http://localhost:8080/
  • 22.
    Icon Notification  Usershould see the WAMP Server icon appear in the right side of your taskbar. If the icon is green, then everything is working properly. If the icon is orange, then there are issues with one of the services. If the icon is red, then both Apache and MySQL services aren’t running. You will need to resolve those issues before continuing.
  • 23.
    WAMP Control Panel This is the WAMP icon  All configurations are there- PHP, Apache, MySQL  If the Icon is green- the service are up and running
  • 24.
    WAMP Directories  Letshave the default installation directory- c:/wamp/  The directory of interest is www/ and it’s called webroot (or document root)  PHP Files are put in the webroot (c;/wamp/www/)  C:/wamp/www/ map to http://localhost  For example- c:/wamp/www/project/scirpt.php map to http://localhost/project/script.php  If no file is specified, Apache looks for index.php
  • 25.
    Testing WAMP Server Open your Web browser and type-http://localhost/. You should see the WAMP Server homepage displayed.
  • 26.
    Creating Database usingWAMP  Creating a database in WAMP Server is done via phpMyAdmin. You can access phpMyAdmin by entering http://localhost/phpmyadmin/ in your web browser.
  • 28.
    WAMP Configurations  Httpd.conf-Text file with Apache related configuration (i.e. webroot, port for http listening, etc)  Php.ini- Text file with PHP related configuration (i.e. short tags, upload file size, etc)  My.ini- MySQL related configuration (i.e. password, query buffers, caches, port, etc)
  • 29.
    Shutting down WAMPServer  To shut down WAMP Server, click on the systray icon and select stop all services to shut down the Apache and MySQL server.  Next you will right-click on the WAMP Server systray icon and click Exit to close the program.
  • 30.
    Uninstallation of WAMPServer  Go to wamp folder and click on unins000 file(icon)
  • 31.