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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

PHP MySQL Training : Module 2

3,310
views

Published on

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.

Published in: Technology

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,310
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
257
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 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
  • 13. PHP Download Page
  • 14. PHP Structure
  • 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
  • 18. Installation of WAMP- Demo
  • 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 :(
  • 20. Some PHP Extensions
  • 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 :)