Narrative / Objective This presentation is a outline and guide for the live presentation. This presentation outline is not a training device but an instructional aid. The objective is to create a local hosted web development environment. Install WampServer. Configure Apache. Configure MySQL. Configure PHP. Test installation. Create and switch between multiple projects on the same machine. WampServer Installation
WAMP / MAMP / XAMPP W = Windows / M = Mac OS / X = Linux or Windows or Mac OS A = Apache Web Server. M = MySQL database server. P = PHP – PHP: Hypertext Preprocessor. XAMPP - includes FTP and SMTP servers. WampServer Installation
WampServer WampServer provides the easiest and quickest install of a WAMP environment. Immediately functional on finish of install. Provides tools for easy configuration, control and modification. Provides control of the version of Apache, MySQL and PHP to match production. WampServer Installation
Apache web server The software license under which software from the Apache Foundation is distributed is a distinctive part of the Apache HTTP Server's history and presence in the open-source software community. The name Apache is a registered trademark and may only be used with the trademark holder's express permission Apache Software License 1.0/1.1/2.0 Apache has been the most popular web server on the Internet since April 1996. Over 70 percent of web server in world use Apache! WampServer Installation 70% of websites in the world are on Apache
MySQL – Database server MySQL is a relational database management system (RDBMS) that runs as a server providing multi-user access to a number of databases. MySQL is officially pronounced "My S-Q-L". MySQL offers MySQL 5.1 in two different variants: the open source MySQL Community Server and the commercial Enterprise Server. GNU General Public License, version 2 Now owned by Sun Microsystems, a subsidiary of Oracle Corporation. WampServer Installation
PHP – Server side programming / scripting language PHP is free software released under the PHP License, which insists that: The name "PHP" must not be used to endorse or promote products derived from this software without prior written permission. PHP License 3.0/3.01. PHP original stood for Personal Home Page Tools PHP rules the website scripting language at over 30 percent followed by ASP at 25 percent, Flash is about 14% and J2EE about 8%. ROR is 1.5 % WampServer Installation 30% of websites with scripting use PHP
Download and Installing WampServer Visit http://www.wampserver.com/ Click DOWNLOADS on menu Click download link and save file locally Once downloaded run the file Tell directory to install to and default browser and smtp account. Run WampServer Open browser and enter localhost in the address bar Success! Firewalls can be an issue with Apache and may prevent from working. WampServer Installation
WampServer Testing Test WampServer is working through your browser. Icon in the tray Red / Yellow / White. Log files. WampServer Installation
WampServer Projects Stop all services. Edit http.conf around lines 178 and 205 to new project location. Change “www” to “project1” or name of new directory of project. DocumentRoot "c:/wamp/project1/" <Directory "c:/wamp/project1/"> Save http.conf Start all services. WampServer Installation