SlideShare a Scribd company logo
1 of 19
OBJECTIVE
Introduction
Installation
Configuration
Run
α Initially Personal Home Page
α Now PHP Hypertext Preprocessor.
α PHP is free software.
α Syntax based on Perl, Java, and C and
have object oriented functionality
α PHP code is interpreted by a web server
with a PHP processor module, which
generates the resulting web page.
α PHP commands can be embedded directly
into an HTML source document rather
than calling an external file to
process data
α Syntax based on Perl, Java, and C.
α PHP was started in 1994 by Rasmus
Lerdorf.
α Early non-released versions were used
on his home page to keep track of who
was looking at his online resume.
α First Version in 1995 as Personal Home
Page Tool
α PHP is in use on over 1,000,000 sites
around the world.
α Latest release PHP 5.5 20 June 2013.
α PHP performs system functions, i.e.
from files on a system it can create,
open, read, write, and close them.
α PHP can handle forms, i.e. gather data
from files, save data to a file, thru
email you can send data, return data
to the user.
α You add, delete, modify elements
within your database thru PHP.
α It can encrypt data.
α Create dynamic and flexible website
α Simplicity
α Efficiency
α Security
α Flexibility
α Familiarity
α PHP files have extension ".php“.
α PHP file/code are executed on the
server, and the result is returned to
the browser as plain HTML.
α Create text file and type php code
inside and save with .php.
α All php code goes inside
<?php
//type your code here
?>
α There are two way to use php
α Inside the html as embedded html
α Outside the html or in separate php
file
α Second mostly used Open Source
Database management system
α It is named after co-founder Michael
Widenius's daughter, My and SQL is the
Structured Query Language.
α MySQL is a popular choice of database
for use in web applications. and is a
central component of the widely used
LAMP open source web application
software stack
α LAMP is an acronym for
"Linux, Apache, MySQL, Perl/PHP/Python
."
NOW
Installation
Introduction
Configuration
Run
α Requirement
1. Web Host with database support
2. PC with browser
α Use following link to download web
host for computer
1. Apache (Web Server) apache.org/
2. Mysql dev.mysql.com/downloads
3. PHP php.net/downloads.php
α All in all platform
XAMPP www.apachefriends.org/
Wamp Server wampserver.com/
NOW
Configuration
Introduction
Installation
Run
α After Installation configure the path
of the installed software.
α A Control panel open that is used to
start and stop servers.
α Click on Button of Apace to start
server
α Click on button of Mysql to start
database server
α Open web browser and type
α Localhost or 127.0.0.1
α Select Language finally you did
NOW
Run
Introduction
Installation
Configuration
α Requirement
1. Text editor or IDE
2. Server Connected started
3. Browser
4. And Most important Mind.
α Type the following code in text file
<?php
Phpinfo();
?>
Save insite the x:xampphtdocs with
.php extenstion.-> type this in
browser localhost/file.php
facebook.com/groups/sviet.mca
vjy.softworx@gmail.com
Php introduction and configuration

More Related Content

What's hot

Php(report)
Php(report)Php(report)
Php(report)
Yhannah
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
Niit
 
Php tutorial(w3schools)
Php tutorial(w3schools)Php tutorial(w3schools)
Php tutorial(w3schools)
Arjun Shanka
 
1336333055 php tutorial_from_beginner_to_master
1336333055 php tutorial_from_beginner_to_master1336333055 php tutorial_from_beginner_to_master
1336333055 php tutorial_from_beginner_to_master
jeeva indra
 

What's hot (20)

Php introduction
Php introductionPhp introduction
Php introduction
 
Php basics
Php basicsPhp basics
Php basics
 
Basics PHP
Basics PHPBasics PHP
Basics PHP
 
Php(report)
Php(report)Php(report)
Php(report)
 
Php a dynamic web scripting language
Php   a dynamic web scripting languagePhp   a dynamic web scripting language
Php a dynamic web scripting language
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
Chapter 02 php basic syntax
Chapter 02   php basic syntaxChapter 02   php basic syntax
Chapter 02 php basic syntax
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
PHP
PHPPHP
PHP
 
PHP slides
PHP slidesPHP slides
PHP slides
 
Control Structures In Php 2
Control Structures In Php 2Control Structures In Php 2
Control Structures In Php 2
 
Php tutorial(w3schools)
Php tutorial(w3schools)Php tutorial(w3schools)
Php tutorial(w3schools)
 
1336333055 php tutorial_from_beginner_to_master
1336333055 php tutorial_from_beginner_to_master1336333055 php tutorial_from_beginner_to_master
1336333055 php tutorial_from_beginner_to_master
 
Php mysql
Php mysqlPhp mysql
Php mysql
 
Php.ppt
Php.pptPhp.ppt
Php.ppt
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
PHP Loops and PHP Forms
PHP  Loops and PHP FormsPHP  Loops and PHP Forms
PHP Loops and PHP Forms
 
PHP
PHPPHP
PHP
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
Php tutorial
Php  tutorialPhp  tutorial
Php tutorial
 

Similar to Php introduction and configuration

PHP - History, Introduction, Summary, Extensions and Frameworks
PHP - History, Introduction, Summary, Extensions and FrameworksPHP - History, Introduction, Summary, Extensions and Frameworks
PHP - History, Introduction, Summary, Extensions and Frameworks
Royston Olivera
 
Slide 1 - The University of Mississippi
Slide 1 - The University of MississippiSlide 1 - The University of Mississippi
Slide 1 - The University of Mississippi
webhostingguy
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
Uma Sam
 
chapter 5 Server-Side Scripting (PHP).pdf
chapter 5 Server-Side Scripting (PHP).pdfchapter 5 Server-Side Scripting (PHP).pdf
chapter 5 Server-Side Scripting (PHP).pdf
burasyacob012
 

Similar to Php introduction and configuration (20)

Php hypertext Preprocessor
Php hypertext PreprocessorPhp hypertext Preprocessor
Php hypertext Preprocessor
 
Php.ppt
Php.pptPhp.ppt
Php.ppt
 
Php
PhpPhp
Php
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
Php ppt
Php pptPhp ppt
Php ppt
 
Lamp
LampLamp
Lamp
 
PHP - History, Introduction, Summary, Extensions and Frameworks
PHP - History, Introduction, Summary, Extensions and FrameworksPHP - History, Introduction, Summary, Extensions and Frameworks
PHP - History, Introduction, Summary, Extensions and Frameworks
 
Slide 1 - The University of Mississippi
Slide 1 - The University of MississippiSlide 1 - The University of Mississippi
Slide 1 - The University of Mississippi
 
Php intro
Php introPhp intro
Php intro
 
Php unit i
Php unit i Php unit i
Php unit i
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
PHP ITCS 323
PHP ITCS 323PHP ITCS 323
PHP ITCS 323
 
chapter 5 Server-Side Scripting (PHP).pdf
chapter 5 Server-Side Scripting (PHP).pdfchapter 5 Server-Side Scripting (PHP).pdf
chapter 5 Server-Side Scripting (PHP).pdf
 
PHP Basics
PHP BasicsPHP Basics
PHP Basics
 
CONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEMCONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEM
 
First steps of programming with php
First steps of programming with phpFirst steps of programming with php
First steps of programming with php
 
PHP
PHPPHP
PHP
 

More from Vijay Kumar Verma (10)

Oo methodology
Oo methodologyOo methodology
Oo methodology
 
XML XSLT
XML XSLTXML XSLT
XML XSLT
 
XML_schema_Structure
XML_schema_StructureXML_schema_Structure
XML_schema_Structure
 
Introduction to Java Script
Introduction to Java ScriptIntroduction to Java Script
Introduction to Java Script
 
Security threats ecom
Security threats ecomSecurity threats ecom
Security threats ecom
 
Dwm temporal measure
Dwm temporal measureDwm temporal measure
Dwm temporal measure
 
Html+css web layout 2
Html+css web layout 2Html+css web layout 2
Html+css web layout 2
 
Open gl configuration_march2014
Open gl configuration_march2014Open gl configuration_march2014
Open gl configuration_march2014
 
Aos distibutted system
Aos distibutted systemAos distibutted system
Aos distibutted system
 
Html+css web layout
Html+css web layoutHtml+css web layout
Html+css web layout
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Recently uploaded (20)

Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 

Php introduction and configuration

  • 1.
  • 3. α Initially Personal Home Page α Now PHP Hypertext Preprocessor. α PHP is free software. α Syntax based on Perl, Java, and C and have object oriented functionality α PHP code is interpreted by a web server with a PHP processor module, which generates the resulting web page. α PHP commands can be embedded directly into an HTML source document rather than calling an external file to process data
  • 4. α Syntax based on Perl, Java, and C. α PHP was started in 1994 by Rasmus Lerdorf. α Early non-released versions were used on his home page to keep track of who was looking at his online resume. α First Version in 1995 as Personal Home Page Tool α PHP is in use on over 1,000,000 sites around the world. α Latest release PHP 5.5 20 June 2013.
  • 5. α PHP performs system functions, i.e. from files on a system it can create, open, read, write, and close them. α PHP can handle forms, i.e. gather data from files, save data to a file, thru email you can send data, return data to the user. α You add, delete, modify elements within your database thru PHP. α It can encrypt data. α Create dynamic and flexible website
  • 6. α Simplicity α Efficiency α Security α Flexibility α Familiarity
  • 7. α PHP files have extension ".php“. α PHP file/code are executed on the server, and the result is returned to the browser as plain HTML. α Create text file and type php code inside and save with .php. α All php code goes inside <?php //type your code here ?>
  • 8. α There are two way to use php α Inside the html as embedded html α Outside the html or in separate php file
  • 9. α Second mostly used Open Source Database management system α It is named after co-founder Michael Widenius's daughter, My and SQL is the Structured Query Language. α MySQL is a popular choice of database for use in web applications. and is a central component of the widely used LAMP open source web application software stack α LAMP is an acronym for "Linux, Apache, MySQL, Perl/PHP/Python ."
  • 11. α Requirement 1. Web Host with database support 2. PC with browser α Use following link to download web host for computer 1. Apache (Web Server) apache.org/ 2. Mysql dev.mysql.com/downloads 3. PHP php.net/downloads.php α All in all platform XAMPP www.apachefriends.org/ Wamp Server wampserver.com/
  • 13. α After Installation configure the path of the installed software. α A Control panel open that is used to start and stop servers. α Click on Button of Apace to start server α Click on button of Mysql to start database server α Open web browser and type α Localhost or 127.0.0.1 α Select Language finally you did
  • 14.
  • 16. α Requirement 1. Text editor or IDE 2. Server Connected started 3. Browser 4. And Most important Mind. α Type the following code in text file <?php Phpinfo(); ?> Save insite the x:xampphtdocs with .php extenstion.-> type this in browser localhost/file.php
  • 17.