2004-09-09 10:36:43 +00:00
|
|
|
#
|
|
|
|
# PHP is an HTML-embedded scripting language which attempts to make it
|
|
|
|
# easy for developers to write dynamically generated webpages.
|
|
|
|
#
|
|
|
|
|
2004-11-10 11:10:24 +00:00
|
|
|
LoadModule php5_module modules/libphp5.so
|
2004-09-09 10:36:43 +00:00
|
|
|
|
|
|
|
#
|
2004-09-09 10:40:26 +00:00
|
|
|
# Cause the PHP interpreter to handle files with a .php extension.
|
2004-09-09 10:36:43 +00:00
|
|
|
#
|
2004-11-10 11:10:24 +00:00
|
|
|
AddHandler php5-script .php
|
|
|
|
AddType text/html .php
|
2004-09-09 10:36:43 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Add index.php to the list of files that will be served as directory
|
|
|
|
# indexes.
|
|
|
|
#
|
|
|
|
DirectoryIndex index.php
|
2005-04-01 12:01:20 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Uncomment the following line to allow PHP to pretty-print .phps
|
|
|
|
# files as PHP source code:
|
|
|
|
#
|
|
|
|
#AddType application/x-httpd-php-source .phps
|