old-www/HOWTO/Apache-Overview-HOWTO-18.html

72 lines
2.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Apache Overview HOWTO: PHP</TITLE>
<LINK HREF="Apache-Overview-HOWTO-19.html" REL=next>
<LINK HREF="Apache-Overview-HOWTO-17.html" REL=previous>
<LINK HREF="Apache-Overview-HOWTO.html#toc18" REL=contents>
</HEAD>
<BODY>
<A HREF="Apache-Overview-HOWTO-19.html">Next</A>
<A HREF="Apache-Overview-HOWTO-17.html">Previous</A>
<A HREF="Apache-Overview-HOWTO.html#toc18">Contents</A>
<HR>
<H2><A NAME="php"></A> <A NAME="s18">18. PHP</A></H2>
<P>From the
<A HREF="http://www.php.net">PHP</A> website:
<EM>PHP is a server-side, cross-platform, HTML embedded scripting
language.</EM> PHP is a scripting language like Perl, Python or Tcl. It is
the
<A HREF="http://www.securityspace.com/s_survey/data/man.200102/apachemods.html">most popular module for Apache</A> and this is due to a variety
of reasons:
<UL>
<LI>Learning curve is quite low </LI>
<LI>Great documentation</LI>
<LI>Extensive database support</LI>
<LI>Modularity</LI>
</UL>
PHP has a modular design. There are modules that provide support for:
<UL>
<LI>Database connetivity for Oracle, ODBC, mySQL, mSQL, PostgreSQL,
MS-SQL server... and many more, check the
<A HREF="http://www.php.net">PHP website</A>.</LI>
<LI>XML support</LI>
<LI>File transfer: FTP</LI>
<LI>HTTP</LI>
<LI>Directory support: LDAP </LI>
<LI>Mail support: IMAP, POP3, NNTP</LI>
<LI>PDF document generation</LI>
<LI>CORBA</LI>
</UL>
and many more. You only need to compile/use the modules you need.
<P>PHP can be used with Apache, as an external CGI or with other webservers.
It is crossplatform and it runs on most flavors of Unix and Windows.
<P>If you come from a Windows background, you probably have used Internet
Information Server with Active Server Pages and MS-SQL Server. A common
replacement in the Unix world for this trio is Apache with PHP and mySQL.
Since PHP works:
<UL>
<LI>with Apache and with Microsoft IIS</LI>
<LI>with mySQL and with MS-SQL server</LI>
<LI>on Unix and on Windows</LI>
</UL>
you have a nice migration path from a Microsoft-centric solution to more
secure, stable, high performance Unix based solutions (like
<A HREF="http://www.freebsd.org">FreeBSD</A>,
<A HREF="http://www.sun.com">Solaris</A>,
<A HREF="http://www.linux.com">Linux</A> or
<A HREF="http://www.openbsd.com">OpenBSD</A>)
<P>
<P>
<HR>
<A HREF="Apache-Overview-HOWTO-19.html">Next</A>
<A HREF="Apache-Overview-HOWTO-17.html">Previous</A>
<A HREF="Apache-Overview-HOWTO.html#toc18">Contents</A>
</BODY>
</HTML>