2. Introduction to WAMP - PHP & MySQL Web Development


Published on

Basic concepts about WAMP Server
Telerik Software Academy: http://academy.telerik.com/school-academy/meetings/details/2011/10/11/php-school-academy-meeting
The website and all video materials are in Bulgarian

This lecture discusses the following topics:

What is WAMP?
Benefits of WAMP
Downloading WAMP
Installing WAMP
WAMP Control Panel
WAMP Directories
Configuring WAMP
Uninstalling WAMP

Published in: Education, Technology
  • for more details click http://kumarvivek.in/how-to-install-wamp-server-in-window/
    Are you sure you want to  Yes  No
    Your message goes here
  • Wamp Satnds for Window , Apache , Mysql , Php . After download the WAMP Server for installing it on Computer , just double click on its Wamp Server icon to run and install it in one of your Computer Drive. After Install Wamp Server , Activate Wamp Server( After Intalling Wamp Server Icon Created On Desktop. You Can Activate Wamp Server Double Click On it). Open Browser And Type “localhost” And Click Enter.For Open Database Page Click Phpmyadmin or Type At browser “localhost/phpmyadmin”(After Activation Wamp Server). For Open Project , goto Your project Section(Available Project is Shown Here) , For Add New project Plz Search Wamp Server Where you Install(By Default it install in C Drive). wamp -> www -> (Add New Project Here)
    Are you sure you want to  Yes  No
    Your message goes here
  • http://www.dbmanagement.info/Tutorials/MYSQL-PHP.htm
    Are you sure you want to  Yes  No
    Your message goes here
  • Thank you for the slides.. Really healpful~ :D
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

2. Introduction to WAMP - PHP & MySQL Web Development

  1. 1. Introduction to WAMP Server Windows, Apache, MySQL, PHPRadoslav Georgievhttp://rado-dev.comGameCraftwww.game-craft.com
  2. 2. Contents1. What is WAMP?2. Benefits of WAMP3. Downloading WAMP4. Installing WAMP5. WAMP Control Panel6. WAMP Directories7. Configuring WAMP8. Uninstalling WAMP
  3. 3. What is WAMP? A stack of programs that are designed to run HTTP server which understands PHP  Windows – The Operating System  Apache – HTTP Server  MySQL – A database server and client  PHP – A plugin for Apache so it can run (interpretate) PHP Scripts
  4. 4. Benefits 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)
  5. 5. Download & Install
  6. 6. To Install WAMP Go to http://www.wampserver.com/en/download.php Download the installer (you may need to run it as administrator) For the SMTP Wizard Screen – Click next It will install itself as a tray icon
  7. 7. WAMP Control Panel This is the tray icon All configurations are there – PHP, Apache, MySQL If the icon is green – the services are up and running 7
  8. 8. To Run WAMP From the Tray Icon, left click and  Click the “Put online” button  After this, click “Start all services”  Go to http://localhost/ and see the welcome screen  But ! There can be some problems   Port 80 can be occupied by other programs 8
  9. 9. Problem #1 – Collision with Skype 9
  10. 10. Problem #2 – Collisions with other HTTP Servers There may be XAMMP or IIS installed too The best solution is to change the port From the Tray Icon, left click and  Go to Apache -> httpd.conf  Search for “Listen 80”  Replace with “Listen 8080” for example  Access http://localhost:8080/ 10
  11. 11. Webroot directory Where PHP Files go
  12. 12. 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/ maps to http://localhost/  For example, c:/wamp/www/project/script.php maps to http://localhost/project/script.php  If no file is specified, Apache looks for index.php
  13. 13. WAMP Directories Webroot can be configured Go to the menu -> apache -> httpd.conf Search for DocumentRoot and change it according the needs
  14. 14. Configurationshttpd.conf, php.ini, my.ini
  15. 15. WAMP Configurations There are 3 main configuration files  httpd.conf – Text file with Apache related configurations (i.e. webroot, port for http listening, etc.)  php.ini – Text file with PHP related configurations (i.e. short tags, upload file size, etc.)  my.ini - MySQL related configurations (i.e passwords, query buffers, cache, etc.)
  16. 16. We are going to do someconfigurations on the fly
  17. 17. UninstallingAdd/Remove -> Wamp Server -> Remove 
  18. 18. Introduction to WAMP Server курсове и уроци по програмиране, уеб дизайн – безплатно BG Coder - онлайн състезателна система - online judge курсове и уроци по програмиране – Телерик академия форум програмиране, форум уеб дизайн уроци по програмиране и уеб дизайн за ученици ASP.NET курс - уеб програмиране, бази данни, C#, .NET, ASP.NET http://academy.telerik.com програмиране за деца – безплатни курсове и уроци ASP.NET MVC курс – HTML, SQL, C#, .NET, ASP.NET MVC безплатен SEO курс - оптимизация за търсачки алго академия – състезателно програмиране, състезаниякурсове и уроци по програмиране, книги – безплатно от Наков курс мобилни приложения с iPhone, Android, WP7, PhoneGap уроци по уеб дизайн, HTML, CSS, JavaScript, Photoshop Дончо Минков - сайт за програмиране free C# book, безплатна книга C#, книга Java, книга C# Николай Костов - блог за програмиране безплатен курс "Качествен програмен код" безплатен курс "Разработка на софтуер в cloud среда" C# курс, програмиране, безплатно
  19. 19. Free Trainings @ Telerik Academy “PHP & MySQL Web Design" course academy.telerik.com/.../php-school- academy-meeting Telerik Software Academy  academy.telerik.com Telerik Academy @ Facebook  facebook.com/TelerikAcademy Telerik Software Academy Forums  forums.academy.telerik.com