PHP MySQL Training : Module 2
Upcoming SlideShare
Loading in...5
×
 

PHP MySQL Training : Module 2

on

  • 5,092 views

Obtaining, Installing and Configuring PHP

Obtaining, Installing and Configuring PHP
Obtaining PHP Source Code
Installing PHP from Binary Packages
Dynamic Extensions, Checking Install with phpinfo() Function.

Statistics

Views

Total Views
5,092
Views on SlideShare
5,084
Embed Views
8

Actions

Likes
2
Downloads
245
Comments
0

2 Embeds 8

http://www.slideshare.net 7
http://192.168.10.100 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

PHP MySQL Training : Module 2 PHP MySQL Training : Module 2 Presentation Transcript

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