|
PHP
______________________________________________________________

PHP is a computer
scripting language
originally designed for producing
dynamic web pages.
It is for
server-side scripting,
but can be used from a
command line interface
or in
standalone
graphical applications.
While PHP was originally created by
Rasmus Lerdorf
in 1995, the main implementation of PHP is now produced by The PHP Group and
serves as the
de facto standard
for PHP as there is no
formal specification.Released
under the
PHP License,
the
Free Software
Foundation considers it to be
free software.
PHP is a widely used general-purpose scripting
language that is especially suited for
web development
and can be embedded into
HTML. It generally runs on
a
web server,
taking PHP code as its input and creating
web pages
as output. It can be deployed on most web servers and on almost every
operating system
and
platform
free of charge.
PHP is installed on more than 20 million websites and 1
million
web servers.
It is also the most popular
Apache
module among computers using Apache as a web server.[7]
The most recent major release of PHP was version 5.2.6 on
May 1,
2008.
________________________________________________________________________________________________________

PHP originally stood for Personal Home Page.
It began in 1994 as a set of
Common Gateway
Interface
binaries
written in the
C programming language
by the
Danish/Greenlandic
programmer
Rasmus Lerdorf.
Lerdorf initially created these Personal Home Page Tools to replace a small set
of
Perl
scripts he had been using to maintain his
personal homepage.
The tools were used to perform tasks such as
displaying his résumé and recording how much
traffic
his page was receiving. He combined these binaries with his Form Interpreter to
create PHP/FI, which had more functionality. PHP/FI included a larger
implementation for the C programming language and could communicate with
databases,
enabling the building of simple, dynamic
web applications.
Lerdorf released PHP publicly on
June 8,
1995
to accelerate
bug
location and improving the code. This release was named PHP version 2 and
already had the basic functionality that PHP has today. This included Perl-like
variables, form handling, and the ability to embed HTML. The syntax was similar
to Perl but was more limited, simpler, and less consistent.
__________________________________________________________________________________________________________

PHP is a general-purpose scripting language
that is especially suited for
web development.
PHP generally runs on a
web server,
taking PHP code as its input and creating
web pages
as output. It can also be used for
command-line
scripting and
client-side
GUI
applications. PHP can be deployed on most
web servers,
many
operating systems
and
platforms,
and can be used with many
relational database
management systems. It is available free of charge, and the
PHP Group provides the complete source code for users to build, customize and
extend for their own use.
PHP primarily acts as a
filter,
taking input from a file or stream containing text and/or PHP instructions and
outputs another stream of data; most commonly the output will be HTML. It can
automatically detect the language of the user. From PHP 4, the PHP
parser
compiles
input to produce
bytecode
for processing by the
Zend Engine,
giving improved performance over its
interpreter
predecessor.
Originally designed to create dynamic web pages,
PHP's principal focus is
server-side scripting,
and it is similar to other server-side scripting languages that provide dynamic
content from a web server to a
client,
such as
Microsoft's
ASP.NET
system,
Sun Microsystems'
JavaServer Pages,
and
mod_perl.
PHP has also attracted the development of many
frameworks
that provide building blocks and a design structure to promote
rapid application
development (RAD). Some of these include
CakePHP,
PRADO,
Symfony
and
Zend Framework,
offering features similar to other
web application
frameworks.
The
LAMP
architecture has become popular in the web industry as a way of deploying web
applications. PHP is commonly used as the P in this bundle alongside
Linux,
Apache
and
MySQL,
although the P may also refer to
Python
or
Perl.
As of April 2007, over 20 million Internet domains
were hosted on servers with PHP installed, and PHP was recorded as the most
popular Apache module. Significant websites are written in PHP including the
user-facing portion of
Facebook,
and
Wikipedia
(Mediawiki).
|