Apache, MySQL and PHP Installation and Configuration Chapter 1 Apache Installation and Configuration.

Slides:



Advertisements
Similar presentations
MySQL Installation Guide. MySQL Downloading MySQL Installer.
Advertisements

Web Filtering. ExchangeDefender Web Filtering provides policy-controlled protection from dangerous content on the web. Web Filtering is agent based, allowing.
Dan Fleck.  WAMP – Windows Apache MySQL PHP -  LAMP – Linux Apache MySQL PHP ◦ There are.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
Creating PHP Pages Chapter 7 PHP Decisions Making.
20-753: Fundamentals of Web Programming 1 Lecture 11: Web Server Case Study Fundamentals of Web Programming Lecture 11: Web Server Case Study.
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
Choose a category: Install Episys Install Accessories Synergent Confidential Episys Version Synergent 2008Download latest guides from:
PHP Programming with MySQL Slide 2-1 CHAPTER 2 Getting Started with PHP.
Apache Installation by Jack Davis. Web Servers The Apache HTTP Server is the most widely used web server on the Internet. Apache is fast, free, and full-featured.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
Configuring a Web Server. Overview  Understand how a Web server works  Install IIS (Internet Information Services) and Apache Web servers  Examine.
Apache : Installation, Configuration, Basic Security Presented by, Sandeep K Thopucherela, ECE Department.
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
Installing a New Windows Server 2008 Domain Controller in a New Windows Server 2008 R2.
SERVLETS.
Installing Ricoh Driver. Items you need to know IP address of Printer Options that are installed And Paper Sizes To get all this information you can print.
Deployment Management The following screens demonstrate how to: 1. Access and view deployments 2. Create a new local deployment 3. Create and modify a.
Linux Operations and Administration
Ch 8-3 Working with domains and Active Directory.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
1 ISA Server 2004 Installation & Configuration Overview By Nicholas Quinn.
Reading Data in Web Pages tMyn1 Reading Data in Web Pages A very common application of PHP is to have an HTML form gather information from a website's.
Apache Server The Apache Server Apache is a WWW server that implements the HTTP protocol. Apache runs as a daemon. This means that it is a resident.
Web Servers1-1 Web Servers Xingquan (Hill) Zhu
An introduction to Apache. Different Types of Web Servers Apache is the default web server for may Unix servers. IIS is Microsoft’s default web server.
Apache, PHP, MySQL Installation and configuration Web Programming with PHP,TITAS PROJECTIICT,BUET.
Installation of Apache, PHP & MySQL Tutor: Zhang lidan Office: 312 Chow Yei Ching
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Apache, MySQL and PHP Installation and Configuration Chapter 4 XAMPP Installation and Configuration.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
Apache, MySQL and PHP Installation and Configuration Chapter 3 PHP Installation and Configuration.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
Installing and Using MySQL and phpMyAdmin. Last Time... Installing Apache server Installing PHP Running basic PHP scripts on the server Not necessary.
Installing MDT 2010 on Windows Server 2008 R2 This guide assumes you are installing MDT 2010 on a Windows Server 2008 R2 server with the Windows Deployment.
Prachi Chitnis.  The CSS feel  SDS – Synoptic Display Studio  ADL Converter  PV table, Probe…
1 Session 1: Introduction to PHP & MySQL iNET Academy Open Source Web Development.
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.
Installing MySQL BCIS 3680 Enterprise Programming.
Apache, MySQL and PHP Installation and Configuration Chapter 2 MySQL Installation and Configuration.
CITA 310 Section 7 Installing and Testing a Programming Environment (Textbook Chapter 7)
Lecturer : 이선아  APM  Apache  PHP  MySQL.
Installation of PHP5 Objectives –Install PHP5 with support for Apache and MySQL Contents –Installing latest dependencies LibXML & LibSLT –Compiling and.
Field Trip #24 Setting Up a Web Server. Apache Apache is one of the most successful open source web servers In 1995 the most popular web server was the.
Creating PHP Pages Chapter 5 PHP Structure and Syntax.
APACHE -By V.Gouthaman. The Apache HTTP Server, commonly referred to as Apache is web server software notable for playing a key role in the initial growth.
Presented by Lonnye Bower Fardin Khan Chris Orona APACHE WEB SERVER.
Web Server Apache PHP HTTP Request User types URL into browser Address resolved if nec. We use directly Most browsers request.
SVN code server for AliRoot P.Hristov 18/10/2007.
Installation of PHP5 Objectives –Install PHP5 with support for Apache and MySQL Contents –Installing latest dependencies LibXML & LibSLT –Compiling and.
Settings MySQL Database and JDBC configuration Instructor: Sergey Goldman.
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.
Building Your Own Website Using:. Install & configure LAMP. Download WordPress and run it as a local website on your Raspberry Pi. Configure WordPress.
Web Server Administration Chapter 6 Configuring a Web Server.
Apache Web Server v. 2.2 Reference Manual Chapter 2 Starting Apache.
Apache Configuration. Application Install IBM HTTP Server is Apache.
How to use Drupal Awdhesh Kumar (Team Leader) Presentation Topic.
CACI Proprietary Information | Date 1 Upgrading to webMethods Product Suite Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8,
(c) Elizabeth Sterling * Please copy, share and reuse * sparkthing.com What Is Apache? ● A “Patchy” Web Server ● The most common HTTP server on the 'Net.
9/21/04 James Gallagher Server Installation and Testing: Hands-on ● Install the CGI server with the HDF and FreeForm handlers ● Link data so the server.
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,
Developing Web-Based Applications
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
Chapter 2 Getting Started with PHP PHP Programming with MySQL
Configuration Of A Pull Network.
Install MySQL Community Server and MySQL Workbench
How to install and manage exchange server 2010 OP Saklani.
Presentation transcript:

Apache, MySQL and PHP Installation and Configuration Chapter 1 Apache Installation and Configuration

Apache Installation Installing with Windows : Go to apache website, and download Apache HTTP Server latest stable version.download Chose the Win 32 Binary (MSI Installer) link to download. Click the MSI file to initiate the installation wizard for the Apache software. Click Next. You will see the Server Information screen. Enter the following information : Domain name: For example, domainname.com Server name: For example, server.domainname.com Net administrator’s address Apache users

Apache Installation Installing with Windows : Click Next to select a setup type. Typical installation is recommended for beginners and will suffice for most needs. Advanced users may feel more comfortable choosing Custom setup. Click Next. The Destination Folder screen appears. If you do not want your Apache files saved in the default path, click Change and select an alternate path; then click Next. Click Install to finish installation.

Apache Installation Installing with Linux : Go to apache website, and download Apache HTTP Server latest stable version.download Grab the tarball, named something along the lines of httpd-2.0.x.tar.gz. Open a console window, and change the directory (cd) to the folder where you downloaded the tarball. Next, extract the tarball, and change to the directory it creates : Configure the source : Using the --prefix switch tells the installer where to put the Apache server after it’s built. For a complete list of configuration options, run./configure -help. tar –xzf httpd tar.gz cd httpd /configure \ --prefix=/usr/local/apache2 \ --enable-so \ --enable-mods-shared=max \ --enable-modules=most

Apache Installation Installing with Linux : Compile the source : Install the server : Note that you will need to be logged in as superuser (root) to perform this step and the following steps in the Apache installation. Start the Apache daemon: Add the command to start Apache to whatever boot scripts you like, so the server starts every time you reboot. For example : make make install /usr/local/apache2/bin/apachectl start echo ‘/usr/local/apache2/bin/apachectl start

Apache Configuration Testing Installation : Open browser and type : If installation was successful you will see this thing : If it’s not, you must check your error log by opening error.log, you can find here by default : It Works ! echo ‘/usr/local/apache2/bin/apachectl start

Configuration Adding PHP : In order for Apache to recognize a PHP file as one that needs to be parsed with the PHP engine, you need to first locate the following lines in your httpd.conf file : Then add the following lines : # # AddType allows you to add to or override the MIME configuration # file mime.types for specific file types. # AddType application/x-tar.tgz AddType image/x-icon.ico AddType application/x-httpd-php.php AddType application/x-httpd-php-source.phps

Configuration Adding PHP : Add the PHP module into your httpd.conf program so that Apache can properly parse PHP. In your script, locate the following lines that contain Dynamic Shared Object (DSO) Support: Then add the following lines : Make sure your path matches the location of this file, as determined during your installation.... LoadModule access_module modules/mod_access.so LoadModule actions_module modules/mod_actions.so... LoadModule php5_module “c:/php/sapi/php5apache2.dll”

Configuration Document Root : By default, the directory under which Apache looks for files is c:\program files\Apache Group\Apache2\htdocs\. You can change this to whatever is applicable for your directory structure To point Apache to the new directory, you must change the document root in your httpd.conf file by following these steps : Locate the section of the file that resembles this text : Change the last line of this section to Notice that this uses forward slashes instead of backslashes. # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot “C:/Program Files/Apache Group/Apache2/htdocs” DocumentRoot “C:/Program Files/Apache Group/Apache2/test”

Configuration Document Root : Locate the section of the file that resembles this text : Change the last line of this section to Save your file and restart Apache so it can recognize the changes you made to the config file. (Make sure you have created this directory before restarting Apache or you will get an “Operation Failed!” error.). # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something’s not working as # you might expect, make sure that you have specifically enabled it # below. # # This should be changed to whatever you set DocumentRoot to. #

References References : 1.Anonymous.(n.d.). Apache HTTP Server Documentation Version 2.2. Retrieved from 2.Achour, M., Betz, F. (n.d.), PHP Manual. Retrieved from Anonymous. (n.d.). MySQL Reference Manual. Retrieved from Naramore, E., Gerner, J., Le Scouarnec, Y., Stolz, J., Glass, M. K. (2005). Beginning PHP5, Apache, and MySQL® Web Development. Indianapolis, IN: Wiley Publishing, Inc.