SlideShare a Scribd company logo
 
Objectives Install and configure a Web server Install and configure PHP Install and configure MySQL
Understanding Binary and Source Code Installations Binary format  (or  binaries ) refer to compiled files, such as executable installation programs Source code  is the original programming code in which an application was written Source code must be  compiled , or processed, and assembled into an executable format before it is used Compiled programs only need to be recompiled when their code changes
Installing and Configuring a Web Server Apache is the most popular Web server software used on the Internet Microsoft IIS for Windows is the second most popular server software.  In Windows, a  service  refers to a program that performs a specific function to support other programs
Installing and Running Apache on Windows Go to  http://www.apache.org/dyn/closer.cgi/httpd/binaries/win32/ Select a mirror download site. One will be suggested at the top. Download the  apache_2.2.9-win32-x86-no_ssl.msi  installation file  Navigate to the installation file and from the Welcome screen, click  Next Accept the terms of the License Agreement, click  Next Read the contents of the Read This First screen, click  Next
Installing and Running Apache on Windows (continued) Accept the default values, click  Next Select a  Typical  installation, click  Next Accept the default Destination Folder directory, click  Next Click  Back  to make changes or click  Install  to finish Click  Finish
Testing Your Web Server Open your Web browser Type  http://localhost/  in the Address box, click  Enter       Figure 2-2  Apache’s default Web page
Configuring Apache To configure ports and other settings you must edit the  httpd.conf  file For Windows C:\Program Files\Apache Group\Apache2\conf Lines that begin with the pound sign (#) are informational comments Lines without pound signs contain  directives
Configuring Apache (continued) Figure 2-4  httpd.conf
Configuring Apache (continued) Directives  define information about how a program should be configured The  DocumentRoot  directive identifies the default directory from where Apache serves  Web pages. Set this to the complete address of the folder you wish to serve pages from. There is also a <Directory …> setting that must be set to the same directory as your DocumentRoot directive. The  Alias  directive identifies other directories that Apache can use to serve Web pages
Installing PHP Windows Running Apache Go to  http://us.php.net/get/php-5.2.5-Win32.zip/from/a/mirror Select a mirror to download from. Save the file to your computer. Once downloaded, navigate to the installation file and from the Welcome screen, click  Next In the License Agreement screen, click  I Agree In the Installation Type screen, select  Standard , then click  Next Accept the default destination location, click  Next
Installing PHP Windows Running Apache (continued) In the Mail Configuration screen, accept the default values of  localhost , click  Next In the   Server Type screen, select the type of Web server that you want to use with PHP, click  Next In the Start Installation screen, click  Next  to begin installation Click  OK  to close the dialog box of the Web server you selected
Configuring Apache for PHP on Windows Click the  Start  menu and point to  All Programs Select the  Edit the Apache httpd.config   Configuration File  command Add the following to the end of the file: ScriptAlias /PHP/ “C:/PHP/” AddType application/x-httpd-php .php Action application/x-httpd-php “/PHP/php-cgi.exe” Save and close the  httpd.conf  file Restart Apache
Configuring PHP   Figure 2-6  The php.ini configuration file

More Related Content

PPTX
Joomla
PDF
Windows Ensim Reseller Doc
PPT
Installation of wordpress
DOCX
How to simplify Email oriented workflow with - Visendo SMTP Extender
PPTX
PHP tutorials , php tutorials for beginners , tutorials for php
ODP
ODP
APACHE
PDF
Configuring and Testing PHP Support in Microsoft Windows 2000 ...
Joomla
Windows Ensim Reseller Doc
Installation of wordpress
How to simplify Email oriented workflow with - Visendo SMTP Extender
PHP tutorials , php tutorials for beginners , tutorials for php
APACHE
Configuring and Testing PHP Support in Microsoft Windows 2000 ...

What's hot (19)

ODP
Apache doc
ODP
PPTX
All you need to know about WordPress 4.7
PPTX
How to Install and Configure Drupal CMS
PPTX
Https service mule
PPTX
How to Install and Configure Drupal CMS
PPSX
Mail server
PPTX
Installation 02 (wp)
DOCX
How to configure PHP with IIS or Apache on Windows
ODP
Installing WampServer
PPT
Lesson 8 cs5
PDF
Web Design Guide
PDF
Installing joomla on localhost
PDF
PDF
Windows Hosting Documentation
PPTX
Demo on Mule ESB Facebook Connector
PPT
Cpanel Guide
Apache doc
All you need to know about WordPress 4.7
How to Install and Configure Drupal CMS
Https service mule
How to Install and Configure Drupal CMS
Mail server
Installation 02 (wp)
How to configure PHP with IIS or Apache on Windows
Installing WampServer
Lesson 8 cs5
Web Design Guide
Installing joomla on localhost
Windows Hosting Documentation
Demo on Mule ESB Facebook Connector
Cpanel Guide
Ad

Viewers also liked (20)

PPT
PPT
IP Addressing
PPT
PPT
Saftey
PPT
My SQl
PPT
I/O Management
PPTX
1. review jurnal effect dwi hastho
PPT
Shell Script
PPT
Network Security
PPT
Operating systems
PDF
The Dining Philosophers problem in Bangla
PPT
PPT
Linux Introduction
PPT
Denail of Service
PPT
Tractor Components
PPTX
PPTX
dining philosophers problem using montiors
PPT
Drillings
PPTX
SYNCHRONIZATION
PPT
Hacker
IP Addressing
Saftey
My SQl
I/O Management
1. review jurnal effect dwi hastho
Shell Script
Network Security
Operating systems
The Dining Philosophers problem in Bangla
Linux Introduction
Denail of Service
Tractor Components
dining philosophers problem using montiors
Drillings
SYNCHRONIZATION
Hacker
Ad

Similar to Guide (20)

PDF
Installation instruction of Testlink
PPTX
Php hypertext Preprocessor
PDF
Apache windows
PPT
Php Presentation
PPT
Installing apache and php
PPT
Mantis Installation for Windows Box
PPT
Mantis Installation for Windows Box
PPT
Apache
PDF
instaling
PDF
instaling
PDF
instaling
PDF
instaling
TXT
Install
PPTX
Unit 1-Installation of XAMPP for php.pptx
ODP
Apache doc
PDF
Apache2 BootCamp : Getting Started With Apache
ODP
Nadhiya lamp
PPT
Apache ppt
PPT
Installation instruction of Testlink
Php hypertext Preprocessor
Apache windows
Php Presentation
Installing apache and php
Mantis Installation for Windows Box
Mantis Installation for Windows Box
Apache
instaling
instaling
instaling
instaling
Install
Unit 1-Installation of XAMPP for php.pptx
Apache doc
Apache2 BootCamp : Getting Started With Apache
Nadhiya lamp
Apache ppt

More from Ramasubbu .P (20)

PPT
PPT
PPT
Milling 2
PPT
MIlling 1
PPT
Holding
PPT
Harvesting
PPT
Plough
PPT
Tractor PTO
PPT
PPT
PPT
PPT
RAID CONCEPT
PPT
PPT
Sequential Logic Circuit
PPT
PPT
PPT
Ladder
PPT
Class and Objects in PHP
PPT
PPT
URL Class in JAVA
Milling 2
MIlling 1
Holding
Harvesting
Plough
Tractor PTO
RAID CONCEPT
Sequential Logic Circuit
Ladder
Class and Objects in PHP
URL Class in JAVA

Recently uploaded (20)

DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
1_English_Language_Set_2.pdf probationary
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
My India Quiz Book_20210205121199924.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
IGGE1 Understanding the Self1234567891011
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
Computing-Curriculum for Schools in Ghana
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Unit 4 Computer Architecture Multicore Processor.pptx
History, Philosophy and sociology of education (1).pptx
1_English_Language_Set_2.pdf probationary
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
My India Quiz Book_20210205121199924.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
IGGE1 Understanding the Self1234567891011
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
Chinmaya Tiranga quiz Grand Finale.pdf
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
B.Sc. DS Unit 2 Software Engineering.pptx
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Share_Module_2_Power_conflict_and_negotiation.pptx
Introduction to pro and eukaryotes and differences.pptx
Computing-Curriculum for Schools in Ghana
AI-driven educational solutions for real-life interventions in the Philippine...

Guide

  • 1.  
  • 2. Objectives Install and configure a Web server Install and configure PHP Install and configure MySQL
  • 3. Understanding Binary and Source Code Installations Binary format (or binaries ) refer to compiled files, such as executable installation programs Source code is the original programming code in which an application was written Source code must be compiled , or processed, and assembled into an executable format before it is used Compiled programs only need to be recompiled when their code changes
  • 4. Installing and Configuring a Web Server Apache is the most popular Web server software used on the Internet Microsoft IIS for Windows is the second most popular server software. In Windows, a service refers to a program that performs a specific function to support other programs
  • 5. Installing and Running Apache on Windows Go to http://www.apache.org/dyn/closer.cgi/httpd/binaries/win32/ Select a mirror download site. One will be suggested at the top. Download the apache_2.2.9-win32-x86-no_ssl.msi installation file Navigate to the installation file and from the Welcome screen, click Next Accept the terms of the License Agreement, click Next Read the contents of the Read This First screen, click Next
  • 6. Installing and Running Apache on Windows (continued) Accept the default values, click Next Select a Typical installation, click Next Accept the default Destination Folder directory, click Next Click Back to make changes or click Install to finish Click Finish
  • 7. Testing Your Web Server Open your Web browser Type http://localhost/ in the Address box, click Enter Figure 2-2 Apache’s default Web page
  • 8. Configuring Apache To configure ports and other settings you must edit the httpd.conf file For Windows C:\Program Files\Apache Group\Apache2\conf Lines that begin with the pound sign (#) are informational comments Lines without pound signs contain directives
  • 9. Configuring Apache (continued) Figure 2-4 httpd.conf
  • 10. Configuring Apache (continued) Directives define information about how a program should be configured The DocumentRoot directive identifies the default directory from where Apache serves Web pages. Set this to the complete address of the folder you wish to serve pages from. There is also a <Directory …> setting that must be set to the same directory as your DocumentRoot directive. The Alias directive identifies other directories that Apache can use to serve Web pages
  • 11. Installing PHP Windows Running Apache Go to http://us.php.net/get/php-5.2.5-Win32.zip/from/a/mirror Select a mirror to download from. Save the file to your computer. Once downloaded, navigate to the installation file and from the Welcome screen, click Next In the License Agreement screen, click I Agree In the Installation Type screen, select Standard , then click Next Accept the default destination location, click Next
  • 12. Installing PHP Windows Running Apache (continued) In the Mail Configuration screen, accept the default values of localhost , click Next In the Server Type screen, select the type of Web server that you want to use with PHP, click Next In the Start Installation screen, click Next to begin installation Click OK to close the dialog box of the Web server you selected
  • 13. Configuring Apache for PHP on Windows Click the Start menu and point to All Programs Select the Edit the Apache httpd.config Configuration File command Add the following to the end of the file: ScriptAlias /PHP/ “C:/PHP/” AddType application/x-httpd-php .php Action application/x-httpd-php “/PHP/php-cgi.exe” Save and close the httpd.conf file Restart Apache
  • 14. Configuring PHP Figure 2-6 The php.ini configuration file