WampServer 2 Installation WAMP is a solution stack of open source programs used together to run dynamic Web sites or servers Most common expansion:  Windows,

Slides:



Advertisements
Similar presentations
Building Database Relationships
Advertisements

How to Use Stowe School District
FIRST SESSION - XAMPP Jeongmin Lee.  Jeongmin Lee  CS  PHD  Machine Learning, AI  Web System Development.
Agenda Web Application Web Page development WAMP
Windows Apache MySQL PHP Radoslav Georgiev Telerik Corporation
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
The Internet. Telnet Telnet means using your computer as a terminal. All commands you type are sent to the host computer you are connected to and executed.
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
Lesson 46: Using Information From the Web copy and paste information from a Web site print a Web page download information from a Web site customize Web.
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
Mozilla Thunderbird Roderick Bautista Cheryl Knott Gyeong Lee Lee Raynes Kelly Santos.
8/17/2015CS346 PHP1 Module 1 Introduction to PHP.
Open Source Software WampServer Presented By Mr. R.Aravindhan.
Linux Operations and Administration
Hosted Exchange The purpose of this Startup Guide is to familiarize you with ExchangeDefender's Exchange and SharePoint Hosting. ExchangeDefender.
Using Backstage Lesson 2. Objectives Software Orientation: Backstage View Backstage view’s left-side navigation pane (see figure on the next slide) gives.
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
| | Tel: | | Computer Training & Personal Development Outlook Express Complete.
Creating a Web Site to Gather Data and Conduct Research.
10/5/2015CS346 PHP1 Module 1 Introduction to PHP.
Internet Browsing the world. Browse Internet Course contents Overview: Browsing the world Lesson 1: Internet Explorer Lesson 2: Save a link for future.
An Introduction to Designing and Executing Workflows with Taverna Katy Wolstencroft University of Manchester.
Installing and Using Active Directory Written by Marc Zacharko.
Installing and Using MySQL and phpMyAdmin. Last Time... Installing Apache server Installing PHP Running basic PHP scripts on the server Not necessary.
Screenshots of the E-book download For Windows and Flash disks.
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
Selenium Web Test Tool Training Discover The Automating Power Of Selenium Author : Girija Prasad Panda Alcatel-Lucent.
Working with the virtual class Elluminate Live! Teacher’s interface eTeacher Ltd
Apache, MySQL and PHP Installation and Configuration Chapter 1 Apache Installation and Configuration.
What is Web Site Administration Tool ? WAT Allow you to Configure Web Site With Simple Interface –Manage Users –Manage Roles –Manage Access Rules.
How To Configure Thunderbird For Your Webspace Account.
An Introduction to Designing, Executing and Sharing Workflows with Taverna Katy Wolstencroft myGrid University of Manchester IMPACT/Taverna Hackathon 2011.
WAMP Windows Apache MySQL and PHP i.e. “WAMP”. Why WAMP? WampServer is a Windows web development environment. It allows you to create and test web pages.
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
Apache, MySQL and PHP Installation and Configuration Chapter 2 MySQL Installation and Configuration.
WAMP Server Installatin Shiyun Wen. WAMP Server Installation  WAMP Server is an integrated installation of Apache, MySQL, and PHP for Windows. Following.
PART 2 INTRODUCTION TO DYNAMIC WEB CONTENT AND PHP.
Setting up Dreamweaver to use your local WAMP testing Server
Unit 1 – Web Concepts Instructor: Brent Presley.
FTP COMMANDS OBJECTIVES. General overview. Introduction to FTP server. Types of FTP users. FTP commands examples. FTP commands in action (example of use).
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 2: Introduction to IS2803 Rob Gleasure
Working with ASP.NET Controls What is ASP.NET Using server controls in your pages Allowing users to create their own accounts Creating a login page Letting.
How to make an Interactive Voice Response (IVR) using an OzML script This slideshow is intended to be a great explanation on how to develop an Interactive.
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
Installing a Moodle Test Site The painless and easy way.
Joomla Awdhesh Kumar Singsys Pte Ltd. What is Joomla? Joomla is an award-winning content management system (CMS), which enables you to build Web sites.
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
Downloading and Installing GRASP-AF Workshop Ian Robson Information Analyst, North of England Cardiovascular Network.
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
How to search and how to upload files into sentry file
The Internet.
QOF Assessor Validation Report Generator
Weebly Elements, Continued
WikID installation/training
Learning the Basics – Lesson 1
Developing Web-Based Applications
Bomgar Remote support software
GTS WebSocket General Guide
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
August 17, 2015 J. Boles, J.Burnias and M.Garcia Office 2013
What is Cookie? Cookie is small information stored in text file on user’s hard drive by web server. This information is later used by web browser to retrieve.
Module 1 Introduction to PHP 11/30/2018 CS346 PHP.
User Guide Subversion client TortoiseSVN
Configuring Internet-related services
An Installation Guide of PGP on Windows 2000
PHP and Forms.
CGS 3175: Internet Applications Fall 2009
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
An Introduction to Designing and Executing Workflows with Taverna
How to install and manage exchange server 2010 OP Saklani.
Presentation transcript:

WampServer 2 Installation WAMP is a solution stack of open source programs used together to run dynamic Web sites or servers Most common expansion:  Windows,  Apache Web server;  MySQL database management system (or database server)  PHP server-side scripting language “P” may also refer to Perl or Python WampServer 2 is the latest version (recently “2” was dropped)

Downloading and Setup If you’ve already installed Apache2 or MySQL, make sure they’re  stopped and  restarted manually Click the sequence Start  Control Panel  Administrative Tools  Services Double click on the line for Apache2 (or MySQL) In the resulting window, change  Service status to Stopped (click the Stop button) and  Startup type to Manual (using drop-down menu) Click OK You must stop anything else (e.g., Skype) running on port 80

To download WampServer 2, go to  An.exe file Download wizard automatically sets up all 3 programs Suggested installation folder is C:\wamp During installation, asked whether you want these services  started up when the machine starts up (i.e., AutoStart) or  started manually Latter preferred (security and performance)

A folder directly below the installation folder is www  Default document root—accept this default When client requests a document from your Web site, root of the path in the URL is this folder, C:\wamp\www E.g. if the domain name is myName.myDomain.com, then a request for locates C:\wamp\www\first.html  A request locates C:\wamp\www\thisProject\second.php

The URL contains forward-slashes ( / ) where Windows uses backslashes ( \ )  Server automatically converts

When asked for the PHP mail parameters (SMTP server),  enter SMTP server for PHP to send s  then click Next For this class, use A&T server, smtp.ncat.edu smtp.ncat.edu When asked for default address to send s,  enter you’re A&T address,  then click Next When asked for your default browser,  accept the default (e.g., firefox.exe ) or  choose from the File name popup menu Then click Open Finally, click Finish

Now modify PATH system environment variable (if you want to run MySQL from the command line) Append to the end of the value (if it isn’t already there) ";C:\wamp\bin\mysql\mysqlxxxxx\bin" (The xxxxx is the version info. Go to the folder and find what it is.) If you were exposing your website to the public, you’d also password protect your MySQL installation

After installing WampServer2, there’s a WampServer2 icon on bottom right toolbar (or the popup there)  If things are okay, it’s green—else yellow or (if something fails) red Moving mouse cursor over it results in a message saying whether the services are online or offline Clicking on the icon pops up the menu at right

Starting Services and Leaving Apache Offline For Apache server to respond to requests, must be started  (For the MySQL server to function, it too must be started) During installation, asked whether server is to be started automatically when you boot  For performance and security, choose manually  (In any case, if you stop the servers, must restart them manually) To start Apache server (and MySQL server) manually, in the popup menu shown above, click Start All Services

Can also start the servers from the Start menu: Start  All Programs  WampServer, and click start WampServer The WampServer icon changes color from magenta to green The server needn’t be online for our purposes  In fact it should not be online (security)

For security and performance, when you no longer want the services,  click Stop All Services If text appearing when mouse cursor moves over WampServer icon indicates one of the services is still running,  click Stop All Services again

Test the Apache Installation With all services running  Open your browser  Put in the address bar  Click the Go button Or click Localhost in the popup you get by clicking the WAMP icon On the next slide, see rendering of the document produced by C:\wamp\www\index.php

Under Tools, phpinfo() shows the configuration  Including where the configuration file is located phpmyadmin is a very convenient interface to the MySQL databases  Also available through the popup menu Under Your Projects are listed the folders under C:\wamp\www  I.e., under the document root  Click on one to go to that folder See the figure

Clicking on an.html file in such a folder will cause the server to execute it  You can’t otherwise click on the file’s icon and have the server execute it (rather than the browser render it)  The alternative is to type in the address bar of your browserhttp://localhost/ For this class, all server-side access will be to localhost  Programming is then simple, all on your machine E.g., have the server serve C:\wamp\www\c322f09\name.html put in the address bar  Recall that C:\wamp\www\ is the document root Same effect by going via Your Projects and clicking the icon

Can open your browser with in the address bar by clickomg Localhost in the popup windowhttp://localhost/  Then complete the address as desired

If Installation Fails If, when trying to connect with you don’t see the rendering shown 4 slides back (but, e.g., get a message that the server can’t be accessed), something’s wrong Make sure there are no problems with port 80—see screenshot  In the WampServer popup, put the mouse cursor over Apache  In the resulting popup, put the mouse cursor over Service  In the next popup, select Test Port 80  Should see what’s shown in the screenshot If not, either stop what now has the port or (if nothing has) you know Apache isn’t starting properly

Look at the Apache error log—see the screenshot  In the WampServer popup, put the mouse cursor over Apache  In the resulting popup, select Apache error log  Look for an error that should be fatal  Copy the description (on the right end of the line reporting the error) Google it Almost certainly others experienced the same error, and some documented the solution

If you’re getting nowhere, uninstall WampServer and install it again There’s no Uninstall WampServer option in the WampServer menu In the WampServer popup, select Stop All Services  Right click the WampServer icon In the resulting popup, click Exit  Save the contents under your document root (usually C:\wamp\www\ ) somewhere if you’ve already added to it  Execute the file C:\wamp\unins000.exe  You will still have a (mostly empty) folder C:\wamp (and a few mostly empty subfolders) Remove these