Page 61 - Open Soource Technologies 304.indd
P. 61
Open Source Technologies Sarabjit Kumar, Lovely Professional University
Notes Unit 5: PHP
CONTENTS
Objectives
Introduction
5.1 Versions of PHP
5.2 Installation of PHP
5.2.1 Installing with UNIX/Linux PHP Distribution
5.2.2 Windows
5.2.3 Installing with PHP Windows Installer
5.2.4 Go-Pear.Org
5.2.5 Prerequisites
5.2.6 Going PEAR
5.3 PHP Installation
5.4 Testing Installation
5.5 Summary
5.6 Keywords
5.7 Self Assessment Questions
5.8 Review Questions
5.9 Further Reading
Objectives
After studying this unit, you will be able to:
• Explain versions of PHP.
• Discuss installation of PHP.
• Discuss PHP installation basics.
• Explain testing installation.
• Understand PHP string handling function.
Introduction
PHP is a general-purpose scripting language originally designed for web development to produce
dynamic web pages. For this purpose, PHP code is embedded into the HTML source document
and interpreted by a web server with a PHP processor module, which generates the web page
document. It also has evolved to include a command-line interface capability and can be used
56 LOVELY PROFESSIONAL UNIVERSITY