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 |
slords |
1.2 |
<IfModule prefork.c> |
6 |
|
|
LoadModule php5_module modules/libphp5.so |
7 |
|
|
</IfModule> |
8 |
|
|
<IfModule worker.c> |
9 |
|
|
LoadModule php5_module modules/libphp5-zts.so |
10 |
|
|
</IfModule> |
11 |
slords |
1.1 |
|
12 |
|
|
# |
13 |
|
|
# Cause the PHP interpreter to handle files with a .php extension. |
14 |
|
|
# |
15 |
|
|
AddHandler php5-script .php |
16 |
|
|
AddType text/html .php |
17 |
|
|
|
18 |
|
|
# |
19 |
|
|
# Add index.php to the list of files that will be served as directory |
20 |
|
|
# indexes. |
21 |
|
|
# |
22 |
|
|
DirectoryIndex index.php |
23 |
|
|
|
24 |
|
|
# |
25 |
|
|
# Uncomment the following line to allow PHP to pretty-print .phps |
26 |
|
|
# files as PHP source code: |
27 |
|
|
# |
28 |
|
|
#AddType application/x-httpd-php-source .phps |