Install Apache on windows 8 Create your own server



Similar documents
Contents: 1. Preparation/download files 2. Apache HTTPD Web Server MySQL PHP PHPMyAdmin Ruby On Rails 1.8.

SIMIAN systems. Setting up a Sitellite development environment on Windows. Sitellite Content Management System

MOODLE Installation on Windows Platform

HOW TO SETUP AN APACHE WEB SERVER AND INTEGRATE COLDFUSION

How To Install Amyshelf On Windows 2000 Or Later

How to Install MediaWiki on Windows Server 2003

OpenEyes - Windows Server Setup. OpenEyes - Windows Server Setup

Installing Moodle on a Windows x64 Environment

Redatam+SP REtrieval of DATa for Small Areas by Microcomputer

CEFNS Web Hosting a Guide for CS212

Matlab Web Server Installation and Configuration Guide

PHP+MYSQL, EASYPHP INSTALLATION GUIDE

RaidenFTPD Log Analyser Web Edition

Upgrading MySQL from 32-bit to 64-bit

Project management integrated into Outlook

Livezilla How to Install on Shared Hosting By: Jon Manning

What will be supplied with chemoventory package?

Securing the OpenAdmin Tool for Informix web server with HTTPS

Installing OptiRain Open on Macintosh OS X 10.6 (Snow Leopard)

INSTALLING MOODLE 2.5 ON A MICROSOFT PLATFORM

Install & Configure Apache with PHP, JSP and MySQL on Windows XP Pro

Installation Instructions

Installation Guidelines (MySQL database & Archivists Toolkit client)

TAO Installation Guide v0.1. September 2012

SIMIAN systems. Setting up a Sitellite development environment on Mac OS X. Sitellite Content Management System

WEB2CS INSTALLATION GUIDE

Install MS SQL Server 2012 Express Edition

Getting the software The Apache webserver can be downloaded free from the Apache website :

MassTransit 6.0 Enterprise Web Configuration For Windows

educ Office Remove & create new Outlook profile

INSTALLATION GUIDE VERSION

SysAid Remote Discovery Tool

PassMark Software BurnInTest Management Console. Quick start guide

OpenPro ERP Software Installation Guide Talbert Ave Suite 200 Fountain Valley, CA USA Phone Fax

TIMETABLE ADMINISTRATOR S MANUAL

Getting Started with Dynamic Web Sites

etoken Enterprise For: SSL SSL with etoken

Installing Drupal 8 on Windows 7 with XAMPP. I am trying to install Drupal 8 on my Windows machine as a development system.

Building Website with Drupal 7

QUANTIFY INSTALLATION GUIDE

Implementing Moodle on a Windows High Availability Environment

Kollaborate Server Installation Guide!! 1. Kollaborate Server! Installation Guide!

Installing SQL-Ledger on Windows

Installing Oracle 12c Enterprise on Windows 7 64-Bit

The Web Pro Miami, Inc. 615 Santander Ave, Unit C Coral Gables, FL T: info@thewebpro.com

FlexSim LAN License Server

How to: Install an SSL certificate

MAMP 3 User Guide! March 2014 (c) appsolute GmbH!

Content Management System

OutDisk 4.0 FTP FTP for Users using Microsoft Windows and/or Microsoft Outlook. 5/1/ Encryptomatic LLC

Migrating MSDE to Microsoft SQL 2008 R2 Express

Install SQL Server 2014 Express Edition

INTRODUCTION TO WEB TECHNOLOGY

Installation Guide for Microsoft SQL Server 2008 R2 Express. October 2011 (GUIDE 1)

Installation manual SAP Business Objects Data Services XI 3.2 on a Microsoft Windows 7-64-bit machine

Setting up an Apache Web Server for Greenstone 2 Walkthrough

DocAve Upgrade Guide. From Version 4.1 to 4.5

This installation guide will help you install your chosen IceTheme Template with the Cloner Installer package.

Server & Workstation Installation of Client Profiles for Windows

Contents. 1. Infrastructure

Install and configure Apache, MySQL, PHP on OSX 10.8 Mountain Lion

Installation of PHP, MariaDB, and Apache

Microsoft IIS 4 Guide to Installing Root Certificates, Generating CSR and Installing SSL Certificate

SuperOffice AS. CRM Online. Installing the Citrix Online Web plug-in

Exchange 2013 mailbox setup guide

Omnistar Recruiter Install User Guide (Codelock)

MySQL Quick Start Guide

Working With Your FTP Site

ThinManager and Active Directory

Microsoft Access Calendar Scheduling Database/Template Installation Instructions

APNS Certificate generating and installation

MySQL quick start guide

SVNManager Installation. Documentation. Department of Public Health Erasmus MC University Medical Center

StoreGrid Backup Server With MySQL As Backend Database:

Installing a Personal Server on your PC

NSi Mobile Installation Guide. Version 6.2

SQL EXPRESS INSTALLATION...

Transferring Your Hosting Account

Customer Tips. Xerox Network Scanning HTTP/HTTPS Configuration using Microsoft IIS. for the user. Purpose. Background

Installing Microsoft Outlook on a Macintosh. This document explains how to download, install and configure Microsoft Outlook on a Macintosh.

JMC Next Generation Web-based Server Install and Setup

MassTransit 6.0 Enterprise Web Configuration for Macintosh OS 10.5 Server

Exchange Server Backup and Restore

MySQL Quick Start Guide

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

Paperless Meeting Software Installation Instructions

SSO Plugin. J System Solutions. Upgrading SSO Plugin 3x to 4x - BMC AR System & Mid Tier.

Windows Intune Walkthrough: Windows Phone 8 Management

Cloud Backup Express

Installing and Configuring Microsoft Dynamics Outlook Plugin to Use with ipipeline MS CRM

SchoolBooking SSO Integration Guide

TUTORIAL ECLIPSE CLASSIC VERSION: ON SETTING UP OPENERP 6.1 SOURCE CODE UNDER WINDOWS PLATFORM. by Pir Khurram Rashdi

OpenPro ERP Software Installation Guide REDHAT LINUX

AXIS 70U - Using Scan-to-File

SSL Installing your new Certificate

SETTING UP ACTIVE DIRECTORY (AD) ON WINDOWS 2008 FOR EROOM

How to Earn IPv6 Certifications (Windows Version: Fast) Why? Macintosh Instructions Windows Versions Tips for Windows Home Edition Users

Remote Console Installation & Setup Guide. November 2009

Transcription:

Source: http://www.techscio.com/install-apache-on-windows-8/ Install Apache on windows 8 Create your own server Step 1: Downloading Apache Go to Apache download page and download the latest stable version of Apache for your operating system. Windows users can directly download from here. Step 2: Install Apache a) Now browse to the folder where you have downloaded the file. It would be something like http- 2.x.xx-win32-x86.msi. b) Double click on that to start the installation process. c) Click next and accept the licence agreement. d) Next it will ask you for Network Domain name, server name and Administrator s email address. Type localhost for both network domain name and server name. And for email address type

admin@localhost or any custom email. e) Next if you go for typical option it will install apache in default Program Files folder. You can go with typical if you don t want to change the installation path. But I like to install Apache inside a custom folder (like C:ServerApache) to keep it organized. So, I ll go ahead with custom installation. f) Click on the change button to change the installation path. Now create a new folder Apache where you want to install apache. (I generally prefer to install apache, php and mysql inside one folder like server. eg: C:ServerApache, C:ServerPHP, and C:ServerMySQL. It is all up to you where you want to install it.

g) Finally click on the Install button e) After the installation is finished you can see a small icon in the windows system tray saying Running all apache services Step 3: Confirming that Apache is working To confirm that everything is working fine and all apache services are working, go to your web browser and type http://localhost. You will see a message It works!. The above It works! is an index.html file located in the htdocs folder located in your apache installation folder.

Step 4: Configuring Apache (Optional) If you want to change the location of you web files (i.e. if you want to change htdocs folder to your custom location) then go to your apache installation directory and inside that you will find a conf folder double click on that and then open httpd.conf with notepad. Now find <Directory "C:/Server/Apache/htdocs"> and replace it with <Directory "C:/Server/WebDocs">. (If your apache installation folder was something else then your directory path may be something else). And also make sure that you have created a folder named WebDocs inside C:/Server folder. Next find DocumentRoot "C:/Server/Apache/htdocs" and replace it with DocumentRoot "C:/Server/WebDocs" Thus you have successfully installed Apache on your system. Install PHP Step 1: Downloading PHP Go to http://windows.php.net/download/ and download the latest thread safe version zip file binaries. For example, while writing this tutorial the latest version was 5.4.10. Therefore, I downloaded the corresponding threadsafe version. Step 2: Install PHP PHP does not have any installation wizard. So, we need to manually install PHP. The following are the steps to install PHP a) Make a new folder named PHP in C: drive or wherever you want to install php (I recommend making a new folder in C:Server folder as shown in the below screenshot)

b) Now extract the content of the downloaded zip file to this new folder. c) Now in the extracted files you ll see a file named php.ini-development. Make a duplicate copy of the file by pressing CTRL+C and CTRL+V. d) Now rename the duplicate file to php.ini. (Make sure that you have enabled to show file name extensions)

It will ask for a confirmation to change the file name extension. Just press Yes.

NOTE: There are two versions of php.ini i.e. php.ini-development and php.ini-production. php.inidevelopment is for development purpose and php.ini-production is best suited for Production purpose or live websites. Step 3: Configuring Apache to work with PHP In the previous step you have just extracted the php files to your computer. It won t work on your web-server unless you configure your Apache server to work with php. To configure Apache to work with php open start menu and search for edit apache (alternatively you can browse to your apache installation folder and open conf folder, inside which you will find httpd.conf file) and open the file with notepad. Make the following changes in the httpd.conf file: 1. Find loadmodule section (using ctrl+f). And add the following line. (If your php installation path was different then make the changes accordingly) LoadModule php5_module "c:/server/php/php5apache2_2.dll" 2. Find Addtype section and add the following line. (Make sure that this is added before </IfModule>

AddType application/x-httpd-php.php 3. Now at the end of the file just add this line. (This is used to tell Apache where PHP is installed) PHPIniDir "C:/Server/PHP" 4. (Optional) If you want index.php to work as index file instead of index.html then just change DirectoryIndex index.html to DirectoryIndex index.html index.php Step 4: Enabling PHP extensions Open php.ini file from the PHP installation folder (C:ServerPHP). To enable php extensions just add the following line below ; extension_dir = "ext" extension_dir = C:ServerPHPext Step 5: Testing Make a new text file in your server root directory ( If you are following my tutorial then the root directory is C:ServerWebDocs or if you haven t change your root directory then it is C:%apacheInstallationPath%htdocs. If you want to change your DocumentRoot folder then follow this guide) Now inside the text file copy this code <?php phpinfo();?> and save the file as index.php (Remember to keep the filetype as all files ). Now go to your web browser and type localhost. If everything is working fine then it will show info about the php installation on your system.

Thus you have successfully installed PHP on your system. Now that you have php working and if you want to develop websites using php and databases, sooner or later you will require to install MySQL. Install MySQL Step 1: Downloading MySQL Before starting with download first make sure which version of windows are you using (64 bit or 32 bit). To know about your system details just open Run (windows key + R) and type dxdiag.exe (without quotes) and press enter. There you will get complete information about your system. Now go to http://www.mysql.com/downloads/mysql/ and select Microsoft Windows from the dropdown. Then download the msi installer for your system type (32 or 64 bit) (if you have 64 bit OS then download 64 bit msi installer only).

Step 2: Install MySQL a) Now go to your downloads folder (where you have download the mysql file) and double click on the file to run it. b) On the next screen accept the licence agreement. c) Choose Custom installation on next screen ( if you want you can choose typical, that will install mysql in program files) d) For custom installation, Change the MySQL installation path to C:ServerMySQL e) Now click on Install button to begin the MySQL installation process. f) When the installation finishes it will prompt you to Launch the MySQL instance configuration Wizard. Allow it to launch the configuraton wizard and click on finish.

Step 3: Configuring MySQL Instance a) First it will ask for detailed or standard configuration. Select Detailed Configuration. b) On the next screen, select developer Machine c) Next select Multifunctional Database d) On next screen, keep the default values. e) Next select decision support f) Next enable TCP/IP network, enable strict mode and also add firewall exception.

g) Next select Standard Character set h) Enable both install as windows service and add bin directory to windows path

i) Now enter the password for MySQL twice and remember it (better note it down somewhere) j) Finally click next and Execute and it will begin its execution. The process will take some time. During the process, the wizard may not respond for a while. It is normal. Step 4: Configuring PHP to work with MySQL Open php.ini file from the PHP installation folder (where you have installed or extracted php files, for example, C:ServerPHP ). Find the Dynamic Extensions in that and scroll down. Remove semicolon before these two lines extension=php_mysql.dll extension=php_mysqli.dll Save your php.ini file and restart your apache server. Step 5: Testing To test if MySQL is working properly or not, go to your programs and open MySQL command line client. It will ask you for the password. Enter the password that you have set in the installation wizard. Next type this command to show all databases. show databases;

Don t forget to put semicolon in the end of the statement. Now if it shows you the results then you have successfully installed MySQL on your system.