2 # PHP is an HTML-embedded scripting language which attempts to make it
3 # easy for developers to write dynamically generated webpages.
6 # LoadModule php5_module modules/libphp5.so
9 # # Use of the "ZTS" build with worker is experimental, and no shared
10 # # modules are supported.
11 # LoadModule php5_module modules/libphp5-zts.so
15 # Cause the PHP interpreter to handle files with a .php extension.
17 AddHandler php5-script <%= @extensions.flatten.compact.join(' ') %>
18 AddType text/html .php
21 # Add index.php to the list of files that will be served as directory
24 DirectoryIndex index.php
27 # Uncomment the following line to allow PHP to pretty-print .phps
28 # files as PHP source code:
30 #AddType application/x-httpd-php-source .phps