SlideShare a Scribd company logo
Php introduction and configuration
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
Php introduction and configuration
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
Php introduction and configuration
facebook.com/groups/sviet.mca
vjy.softworx@gmail.com
Php introduction and configuration
Ad

Recommended

Welcome to computer programmer 2
Welcome to computer programmer 2
MLG College of Learning, Inc
 
Php Tutorial
Php Tutorial
Dr. Ramkumar Lakshminarayanan
 
php_tizag_tutorial
php_tizag_tutorial
tutorialsruby
 
PHP Comprehensive Overview
PHP Comprehensive Overview
Mohamed Loey
 
Php Tutorial
Php Tutorial
pratik tambekar
 
Php tutorial
Php tutorial
Mohammed Ilyas
 
Basic of PHP
Basic of PHP
Nisa Soomro
 
Introduction to php
Introduction to php
Meetendra Singh
 
Php introduction
Php introduction
krishnapriya Tadepalli
 
Php basics
Php basics
Jamshid Hashimi
 
Basics PHP
Basics PHP
Alokin Software Pvt Ltd
 
Php(report)
Php(report)
Yhannah
 
Php a dynamic web scripting language
Php a dynamic web scripting language
Elmer Concepcion Jr.
 
Introduction to php
Introduction to php
Anjan Banda
 
Chapter 02 php basic syntax
Chapter 02 php basic syntax
Dhani Ahmad
 
Php tutorial
Php tutorial
Niit
 
PHP
PHP
sometech
 
PHP slides
PHP slides
Farzad Wadia
 
Control Structures In Php 2
Control Structures In Php 2
Digital Insights - Digital Marketing Agency
 
Php tutorial(w3schools)
Php tutorial(w3schools)
Arjun Shanka
 
1336333055 php tutorial_from_beginner_to_master
1336333055 php tutorial_from_beginner_to_master
jeeva indra
 
Php mysql
Php mysql
Shehrevar Davierwala
 
Php.ppt
Php.ppt
Nidhi mishra
 
Php tutorial
Php tutorial
S Bharadwaj
 
PHP Loops and PHP Forms
PHP Loops and PHP Forms
M.Zalmai Rahmani
 
PHP
PHP
Steve Fort
 
Introduction to php
Introduction to php
KIRAN KUMAR SILIVERI
 
Php tutorial
Php tutorial
Computer Hardware & Trouble shooting
 
Introduction to php
Introduction to php
shanmukhareddy dasi
 
PHP Hypertext Preprocessor
PHP Hypertext Preprocessor
adeel990
 

More Related Content

What's hot (20)

Php introduction
Php introduction
krishnapriya Tadepalli
 
Php basics
Php basics
Jamshid Hashimi
 
Basics PHP
Basics PHP
Alokin Software Pvt Ltd
 
Php(report)
Php(report)
Yhannah
 
Php a dynamic web scripting language
Php a dynamic web scripting language
Elmer Concepcion Jr.
 
Introduction to php
Introduction to php
Anjan Banda
 
Chapter 02 php basic syntax
Chapter 02 php basic syntax
Dhani Ahmad
 
Php tutorial
Php tutorial
Niit
 
PHP
PHP
sometech
 
PHP slides
PHP slides
Farzad Wadia
 
Control Structures In Php 2
Control Structures In Php 2
Digital Insights - Digital Marketing Agency
 
Php tutorial(w3schools)
Php tutorial(w3schools)
Arjun Shanka
 
1336333055 php tutorial_from_beginner_to_master
1336333055 php tutorial_from_beginner_to_master
jeeva indra
 
Php mysql
Php mysql
Shehrevar Davierwala
 
Php.ppt
Php.ppt
Nidhi mishra
 
Php tutorial
Php tutorial
S Bharadwaj
 
PHP Loops and PHP Forms
PHP Loops and PHP Forms
M.Zalmai Rahmani
 
PHP
PHP
Steve Fort
 
Introduction to php
Introduction to php
KIRAN KUMAR SILIVERI
 
Php tutorial
Php tutorial
Computer Hardware & Trouble shooting
 

Similar to Php introduction and configuration (20)

Introduction to php
Introduction to php
shanmukhareddy dasi
 
PHP Hypertext Preprocessor
PHP Hypertext Preprocessor
adeel990
 
PHP ITCS 323
PHP ITCS 323
Sleepy Head
 
Php reports sumit
Php reports sumit
Sumit Biswas
 
Introduction to webprogramming using PHP and MySQL
Introduction to webprogramming using PHP and MySQL
anand raj
 
lec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoi
lec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoi
PedakotaPavankumar
 
a brief introduction to PHP and how to use it.
a brief introduction to PHP and how to use it.
Raihan Mistry
 
PHP.ppt
PHP.ppt
ShishirKantSingh1
 
PHP and MySQL
PHP and MySQL
bmani
 
Php unit i
Php unit i
prakashvs7
 
Php intro
Php intro
sana mateen
 
Getting Started: The Environment
Getting Started: The Environment
Ibrahim Abdel Fattah Mohamed
 
Php hypertext Preprocessor
Php hypertext Preprocessor
MrsRLakshmiIT
 
Word press
Word press
Brian Lucas
 
Summer training report priyanka
Summer training report priyanka
priyanka kumari
 
Lamp
Lamp
anurag1p
 
PHP web design
PHP web design
Vhin Militante
 
Php hypertext pre-processor
Php hypertext pre-processor
Siddique Ibrahim
 
PHP Basics
PHP Basics
Roohul Amin
 
Php
Php
Muthuganesh S
 
PHP Hypertext Preprocessor
PHP Hypertext Preprocessor
adeel990
 
Introduction to webprogramming using PHP and MySQL
Introduction to webprogramming using PHP and MySQL
anand raj
 
lec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoi
lec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoi
PedakotaPavankumar
 
a brief introduction to PHP and how to use it.
a brief introduction to PHP and how to use it.
Raihan Mistry
 
PHP and MySQL
PHP and MySQL
bmani
 
Php hypertext Preprocessor
Php hypertext Preprocessor
MrsRLakshmiIT
 
Summer training report priyanka
Summer training report priyanka
priyanka kumari
 
Php hypertext pre-processor
Php hypertext pre-processor
Siddique Ibrahim
 
Ad

More from Vijay Kumar Verma (10)

Oo methodology
Oo methodology
Vijay Kumar Verma
 
XML XSLT
XML XSLT
Vijay Kumar Verma
 
XML_schema_Structure
XML_schema_Structure
Vijay Kumar Verma
 
Introduction to Java Script
Introduction to Java Script
Vijay Kumar Verma
 
Security threats ecom
Security threats ecom
Vijay Kumar Verma
 
Dwm temporal measure
Dwm temporal measure
Vijay Kumar Verma
 
Html+css web layout 2
Html+css web layout 2
Vijay Kumar Verma
 
Open gl configuration_march2014
Open gl configuration_march2014
Vijay Kumar Verma
 
Aos distibutted system
Aos distibutted system
Vijay Kumar Verma
 
Html+css web layout
Html+css web layout
Vijay Kumar Verma
 
Ad

Recently uploaded (20)

How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
GEOGRAPHY-Study Material [ Class 10th] .pdf
GEOGRAPHY-Study Material [ Class 10th] .pdf
SHERAZ AHMAD LONE
 
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Rajdeep Bavaliya
 
Wax Moon, Richmond, VA. Terrence McPherson
Wax Moon, Richmond, VA. Terrence McPherson
TerrenceMcPherson1
 
Measuring, learning and applying multiplication facts.
Measuring, learning and applying multiplication facts.
cgilmore6
 
Assisting Individuals and Families to Promote and Maintain Health – Unit 7 | ...
Assisting Individuals and Families to Promote and Maintain Health – Unit 7 | ...
RAKESH SAJJAN
 
Capitol Doctoral Presentation -June 2025.pptx
Capitol Doctoral Presentation -June 2025.pptx
CapitolTechU
 
What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 
Overview of Off Boarding in Odoo 18 Employees
Overview of Off Boarding in Odoo 18 Employees
Celine George
 
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
ChristinaFortunova
 
How to Manage Multi Language for Invoice in Odoo 18
How to Manage Multi Language for Invoice in Odoo 18
Celine George
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Rajdeep Bavaliya
 
How to Implement Least Package Removal Strategy in Odoo 18 Inventory
How to Implement Least Package Removal Strategy in Odoo 18 Inventory
Celine George
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
Sustainable Innovation with Immersive Learning
Sustainable Innovation with Immersive Learning
Leonel Morgado
 
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
parmarjuli1412
 
The Man In The Back – Exceptional Delaware.pdf
The Man In The Back – Exceptional Delaware.pdf
dennisongomezk
 
Introduction to problem solving Techniques
Introduction to problem solving Techniques
merlinjohnsy
 
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
Arshad Shaikh
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
GEOGRAPHY-Study Material [ Class 10th] .pdf
GEOGRAPHY-Study Material [ Class 10th] .pdf
SHERAZ AHMAD LONE
 
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
Rajdeep Bavaliya
 
Wax Moon, Richmond, VA. Terrence McPherson
Wax Moon, Richmond, VA. Terrence McPherson
TerrenceMcPherson1
 
Measuring, learning and applying multiplication facts.
Measuring, learning and applying multiplication facts.
cgilmore6
 
Assisting Individuals and Families to Promote and Maintain Health – Unit 7 | ...
Assisting Individuals and Families to Promote and Maintain Health – Unit 7 | ...
RAKESH SAJJAN
 
Capitol Doctoral Presentation -June 2025.pptx
Capitol Doctoral Presentation -June 2025.pptx
CapitolTechU
 
What are the benefits that dance brings?
What are the benefits that dance brings?
memi27
 
Overview of Off Boarding in Odoo 18 Employees
Overview of Off Boarding in Odoo 18 Employees
Celine George
 
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
ChristinaFortunova
 
How to Manage Multi Language for Invoice in Odoo 18
How to Manage Multi Language for Invoice in Odoo 18
Celine George
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Rajdeep Bavaliya
 
How to Implement Least Package Removal Strategy in Odoo 18 Inventory
How to Implement Least Package Removal Strategy in Odoo 18 Inventory
Celine George
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
Sustainable Innovation with Immersive Learning
Sustainable Innovation with Immersive Learning
Leonel Morgado
 
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
parmarjuli1412
 
The Man In The Back – Exceptional Delaware.pdf
The Man In The Back – Exceptional Delaware.pdf
dennisongomezk
 
Introduction to problem solving Techniques
Introduction to problem solving Techniques
merlinjohnsy
 
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptx
Arshad Shaikh
 

Php introduction and configuration

  • 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
  • 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