Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 547 — #573
i
i
i
i
i
i
i
i
22
The Apache Web Server
22.9.7 mod_php4
PHP is a programming language that was especially developed for use
with web servers. In contrast to other languages whose commands are
stored in separate files (scripts), the PHP commands are embedded in an
HTML page (similar to SSI). The PHP interpreter processes the PHP com-
mands and embeds the processing result in the HTML page.
The home page for PHP is http://www.php.net/. For PHP to work,
install mod_php4-core and, in addition, apache2-mod_php4 for
Apache 2.
22.9.8 mod_python
Python is an object-oriented programming language with a very clear and
legible syntax. An unusual but convenient feature is that the program
structure depends on the indentation. Blocks are not defined with braces
(as in C and Perl) or other demarcation elements (such as begin and end),
but by their level of indentation. The package to install is apache2-mod_-
python.
More information about this language is available at http://www.
python.org/. For more information about mod_python, visit the URL
http://www.modpython.org/.
22.9.9 mod_ruby
Ruby is a relatively new, object-oriented high-level programming language
that resembles certain aspects of Perl and Python and is ideal for scripts.
Like Python, it has a clean, transparent syntax. On the other hand, Python
has adopted abbreviations, such as $.r for the number of the last line read
in the input file — a feature that is welcomed by some programmers and
abhorred by others. The basic concept of Ruby closely resembles Smalltalk.
The home page of Ruby is http://www.ruby-lang.org/. An Apache
module is available for Ruby. The home page is http://www.modruby.
net/.
547
SUSE LINUX Enterprise Server










