1 |
slords |
1.1 |
# |
2 |
|
|
# PHP is an HTML-embedded scripting language which attempts to make it |
3 |
|
|
# easy for developers to write dynamically generated webpages. |
4 |
|
|
# |
5 |
|
|
|
6 |
|
|
LoadModule php5_module modules/libphp5.so |
7 |
|
|
|
8 |
|
|
# |
9 |
|
|
# Cause the PHP interpreter to handle files with a .php extension. |
10 |
|
|
# |
11 |
|
|
AddHandler php5-script .php |
12 |
|
|
AddType text/html .php |
13 |
|
|
|
14 |
|
|
# |
15 |
|
|
# Add index.php to the list of files that will be served as directory |
16 |
|
|
# indexes. |
17 |
|
|
# |
18 |
|
|
DirectoryIndex index.php |
19 |
|
|
|
20 |
|
|
# |
21 |
|
|
# Uncomment the following line to allow PHP to pretty-print .phps |
22 |
|
|
# files as PHP source code: |
23 |
|
|
# |
24 |
|
|
#AddType application/x-httpd-php-source .phps |