Presentation is loading. Please wait.

Presentation is loading. Please wait.

Windows Apache MySQL PHP Radoslav Georgiev Telerik Corporation www.telerik.com.

Similar presentations


Presentation on theme: "Windows Apache MySQL PHP Radoslav Georgiev Telerik Corporation www.telerik.com."— Presentation transcript:

1 Windows Apache MySQL PHP Radoslav Georgiev Telerik Corporation www.telerik.com

2 1. What is WAMP? 2. Benefits of WAMP 3. Dowloading WAMP 4. Installing WAMP 5. WAMP Control Panel 6. WAMP Directories 7. Configuring WAMP 8. Uninstalling WAMP

3  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  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 configurationg)

5 5

6  Go to http://www.wampserver.com/en/download.php 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  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  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 http://localhost/  But ! There can be some problems  But ! There can be some problems  Port 80 can be occupied by other programs 8

9 9

10  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 Where PHP Files go 11

12  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/ http://localhost/  For example, c:/wamp/www/project/script.php maps to http://localhost/project/script.php http://localhost/project/script.php  If no file is specified, Apache looks for index.php

13  Webroot can be configured  Go to the menu -> apache -> httpd.conf  Search for DocumentRoot and change it according the needs

14 httpd.conf, php.ini, my.ini 14

15  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

17 Add/Remove -> Wamp Server -> Remove Add/Remove -> Wamp Server -> Remove


Download ppt "Windows Apache MySQL PHP Radoslav Georgiev Telerik Corporation www.telerik.com."

Similar presentations


Ads by Google