SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Downloaden Sie, um offline zu lesen
PHP – Module 2




        Hussain Fakhruddin
        hussulinux@gmail.com
Recap from Module-1

●   Client Server Model
●   HTML / XHTML
●   Request – Replies and Protocols
●   Overview of PHP's capabilities
●   Why Use PHP (10 Reasons to use PHP)
●   PHP Vs JS
Agenda


●   Open Source Concepts
●   Obtaining, Installing and Configuring PHP
●   Obtaining PHP Source Code
●   Installing PHP from Binary Packages
●   Dynamic Extensions, Checking Install with
    phpinfo() Function.
Just before we begin

●   Inventor of PHP




    Rasmus Lerdorf
PHP Facts:

●   According to a survery of
    47,173,415 domains,
    15,205,474 had PHP installed.
Lets get back!

●   Open Source Poll

    How many of you would give away your
    piece of software to a person for FREE
    without charging anything, absolutely
    NOTHING?
About Open Source


●   Richard Stallman Story
●   Unix / Linux Systems
●   Freeware VS Free software
Why Open Source

●   Give it free for Students/ Researchers/ IT
    people for growth of knowledge base and
    form a community
●   Corporates are anyway going to pay
●   Separate levels of Licenses. GNU GPL,
    LGPL etc.
●   PHP's License is called PHP license
How to get PHP

●   Various Means of obtaining PHP
    ●   1) Internet
         ●   www.php.net
    ●   2) Software bundled packages
         ●   WAMP, XAMPP
    ●   3) Linux/Unix Distros
         ●   Fedora, CentOS, Ubuntu
    ●   4) Utilities CDs with magazines
         ●   Pcmags etc
Before that...

●   What do you need to start a website:


    ●   A Web server
    ●   PHP Parser
    ●   Configurations
Before that...

●   What do you need to start a website:


    ●   A Web server – Apache, 85% of the Internet
        runs on Apache.
    ●   PHP Parser – PHP Preprocessor
    ●   Configurations – PHP.INI, HTTPD.CONF
Some know how of PHP


●   Latest version : PHP 5.X.X
●   Official Website: www.php.net
●   Official Help: PHP Manual
              ●   http://www.php.net/manual/en/
●   Official Download Page:
              ●   http://www.php.net/downloads.php
PHP
Download
Page
PHP Structure
rd
    3 Party Tools


●   Two most popular bundles:

●   WAMP: Windows, Apache, MySQL & PHP
●   XAMPP: Apache Friends
WAMP

       ●   Obtain from:
           ●   www.wampserver.com
       ●   For Windows only
       ●   Excellent for Starting
           up and advance
           simple usage
XAMPP

        ●   Download from:
            ●   http://www.apachefri
                ends.org
        ●   Very High end.
        ●   Not for starters,
            but yes for pros
        ●   Linux and Windows
            both
Installation of WAMP- Demo
PHP Extensions

●   What are they?
    ●   They are Addons on PHP
    ●   They add extra features to PHP Parsers.
    ●   Example: Creating A PDF, Creating an Image
    ●   Most famous is : PEAR (We'll do it later) and
        Zend Engines - We wont do this :(
Some PHP Extensions
Summary

●   We discussed :
    ●   Open Source and its Philosophy
    ●   PHP and important Links
    ●   Obtained PHP from various places
    ●   Installing PHP
    ●   Installing 3rd Party bundled kit.
    ●   PHP extensions
Next on Schedule:

●   Hello World Program in PHP
●   PHP Tags and Embedding HTML
●   Simple PHP Script examples
●   PHP and HTTP Environment Variables.



    See you tomorrow :)

Weitere ähnliche Inhalte

Was ist angesagt?

Installation of wordpress
Installation of wordpressInstallation of wordpress
Installation of wordpress
HAINIRMALRAJ
 
Http request&response by Vignesh 15 MAR 2014
Http request&response by Vignesh 15 MAR 2014Http request&response by Vignesh 15 MAR 2014
Http request&response by Vignesh 15 MAR 2014
Navaneethan Naveen
 
Vinay Paudel: Optimizing and Speeding up a WordPress site
Vinay Paudel: Optimizing and Speeding up a WordPress siteVinay Paudel: Optimizing and Speeding up a WordPress site
Vinay Paudel: Optimizing and Speeding up a WordPress site
wpnepal
 

Was ist angesagt? (20)

PHP BASIC PRESENTATION
PHP BASIC PRESENTATIONPHP BASIC PRESENTATION
PHP BASIC PRESENTATION
 
HTTP
HTTPHTTP
HTTP
 
Mule xml parsing
Mule xml parsingMule xml parsing
Mule xml parsing
 
About Http Connection
About Http ConnectionAbout Http Connection
About Http Connection
 
Building Web Services
Building Web ServicesBuilding Web Services
Building Web Services
 
Web (HTTP) request to response life cycle
Web (HTTP) request to response life cycleWeb (HTTP) request to response life cycle
Web (HTTP) request to response life cycle
 
KMUTNB - Internet Programming 2/7
KMUTNB - Internet Programming 2/7KMUTNB - Internet Programming 2/7
KMUTNB - Internet Programming 2/7
 
Web technologies: HTTP
Web technologies: HTTPWeb technologies: HTTP
Web technologies: HTTP
 
HTTP
HTTPHTTP
HTTP
 
Introduction To Web (Mukesh Patel)
Introduction To Web (Mukesh Patel)Introduction To Web (Mukesh Patel)
Introduction To Web (Mukesh Patel)
 
CakePHP 3
CakePHP 3CakePHP 3
CakePHP 3
 
Http
HttpHttp
Http
 
An Introduction to HTTP
An Introduction to HTTPAn Introduction to HTTP
An Introduction to HTTP
 
What's up with HTTP?
What's up with HTTP?What's up with HTTP?
What's up with HTTP?
 
Mule xml parsing
Mule xml parsingMule xml parsing
Mule xml parsing
 
HTTP Basics Demo
HTTP Basics DemoHTTP Basics Demo
HTTP Basics Demo
 
Installation of wordpress
Installation of wordpressInstallation of wordpress
Installation of wordpress
 
Http request&response by Vignesh 15 MAR 2014
Http request&response by Vignesh 15 MAR 2014Http request&response by Vignesh 15 MAR 2014
Http request&response by Vignesh 15 MAR 2014
 
Vinay Paudel: Optimizing and Speeding up a WordPress site
Vinay Paudel: Optimizing and Speeding up a WordPress siteVinay Paudel: Optimizing and Speeding up a WordPress site
Vinay Paudel: Optimizing and Speeding up a WordPress site
 
Web hosting and concepts of SEO UNIT 5
Web hosting and concepts of SEO UNIT 5Web hosting and concepts of SEO UNIT 5
Web hosting and concepts of SEO UNIT 5
 

Ähnlich wie PHP MySQL Training : Module 2

Article 01 What Is Php
Article 01   What Is PhpArticle 01   What Is Php
Article 01 What Is Php
drperl
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
Niit
 
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
 

Ähnlich wie PHP MySQL Training : Module 2 (20)

Php.ppt
Php.pptPhp.ppt
Php.ppt
 
Php
PhpPhp
Php
 
Php hypertext Preprocessor
Php hypertext PreprocessorPhp hypertext Preprocessor
Php hypertext Preprocessor
 
First steps of programming with php
First steps of programming with phpFirst steps of programming with php
First steps of programming with php
 
Setting advanced PHP development environment
Setting advanced PHP development environmentSetting advanced PHP development environment
Setting advanced PHP development environment
 
01 Php Introduction
01 Php Introduction01 Php Introduction
01 Php Introduction
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
PHP
PHPPHP
PHP
 
Article 01 What Is Php
Article 01   What Is PhpArticle 01   What Is Php
Article 01 What Is Php
 
unit1 part 1 sem4 php.docx
unit1 part 1 sem4 php.docxunit1 part 1 sem4 php.docx
unit1 part 1 sem4 php.docx
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
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
 
Getting Started: The Environment
Getting Started: The EnvironmentGetting Started: The Environment
Getting Started: The Environment
 
Php introduction and configuration
Php introduction and configurationPhp introduction and configuration
Php introduction and configuration
 
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
5 年後還是新手 - WordPress Plugin 開發大冒險 - GOTY
 
Prepare for PHP Test Fest 2009
Prepare for PHP Test Fest 2009Prepare for PHP Test Fest 2009
Prepare for PHP Test Fest 2009
 
The better PHP API (EN)
The better PHP API (EN)The better PHP API (EN)
The better PHP API (EN)
 
Integrating PHP With System-i using Web Services
Integrating PHP With System-i using Web ServicesIntegrating PHP With System-i using Web Services
Integrating PHP With System-i using Web Services
 

Mehr von hussulinux (7)

Effective communication
Effective communicationEffective communication
Effective communication
 
Enterprise Application Framework
Enterprise Application FrameworkEnterprise Application Framework
Enterprise Application Framework
 
Direct Web Remoting : DWR
Direct Web Remoting : DWRDirect Web Remoting : DWR
Direct Web Remoting : DWR
 
Auto Forex Trade with Meta Trader 4
Auto Forex Trade with Meta Trader 4Auto Forex Trade with Meta Trader 4
Auto Forex Trade with Meta Trader 4
 
Apache Ant
Apache AntApache Ant
Apache Ant
 
Mobile Navigation
Mobile NavigationMobile Navigation
Mobile Navigation
 
Flash Widget Tutorial
Flash Widget TutorialFlash Widget Tutorial
Flash Widget Tutorial
 

Kürzlich hochgeladen

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

PHP MySQL Training : Module 2

  • 1. PHP – Module 2 Hussain Fakhruddin hussulinux@gmail.com
  • 2. Recap from Module-1 ● Client Server Model ● HTML / XHTML ● Request – Replies and Protocols ● Overview of PHP's capabilities ● Why Use PHP (10 Reasons to use PHP) ● PHP Vs JS
  • 3. Agenda ● Open Source Concepts ● Obtaining, Installing and Configuring PHP ● Obtaining PHP Source Code ● Installing PHP from Binary Packages ● Dynamic Extensions, Checking Install with phpinfo() Function.
  • 4. Just before we begin ● Inventor of PHP Rasmus Lerdorf
  • 5. PHP Facts: ● According to a survery of 47,173,415 domains, 15,205,474 had PHP installed.
  • 6. Lets get back! ● Open Source Poll How many of you would give away your piece of software to a person for FREE without charging anything, absolutely NOTHING?
  • 7. About Open Source ● Richard Stallman Story ● Unix / Linux Systems ● Freeware VS Free software
  • 8. Why Open Source ● Give it free for Students/ Researchers/ IT people for growth of knowledge base and form a community ● Corporates are anyway going to pay ● Separate levels of Licenses. GNU GPL, LGPL etc. ● PHP's License is called PHP license
  • 9. How to get PHP ● Various Means of obtaining PHP ● 1) Internet ● www.php.net ● 2) Software bundled packages ● WAMP, XAMPP ● 3) Linux/Unix Distros ● Fedora, CentOS, Ubuntu ● 4) Utilities CDs with magazines ● Pcmags etc
  • 10. Before that... ● What do you need to start a website: ● A Web server ● PHP Parser ● Configurations
  • 11. Before that... ● What do you need to start a website: ● A Web server – Apache, 85% of the Internet runs on Apache. ● PHP Parser – PHP Preprocessor ● Configurations – PHP.INI, HTTPD.CONF
  • 12. Some know how of PHP ● Latest version : PHP 5.X.X ● Official Website: www.php.net ● Official Help: PHP Manual ● http://www.php.net/manual/en/ ● Official Download Page: ● http://www.php.net/downloads.php
  • 15. rd 3 Party Tools ● Two most popular bundles: ● WAMP: Windows, Apache, MySQL & PHP ● XAMPP: Apache Friends
  • 16. WAMP ● Obtain from: ● www.wampserver.com ● For Windows only ● Excellent for Starting up and advance simple usage
  • 17. XAMPP ● Download from: ● http://www.apachefri ends.org ● Very High end. ● Not for starters, but yes for pros ● Linux and Windows both
  • 19. PHP Extensions ● What are they? ● They are Addons on PHP ● They add extra features to PHP Parsers. ● Example: Creating A PDF, Creating an Image ● Most famous is : PEAR (We'll do it later) and Zend Engines - We wont do this :(
  • 21. Summary ● We discussed : ● Open Source and its Philosophy ● PHP and important Links ● Obtained PHP from various places ● Installing PHP ● Installing 3rd Party bundled kit. ● PHP extensions
  • 22. Next on Schedule: ● Hello World Program in PHP ● PHP Tags and Embedding HTML ● Simple PHP Script examples ● PHP and HTTP Environment Variables. See you tomorrow :)