#this may be loaded already in mods-enabled
#LoadModule php5_module modules/libphp5.so
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
#http://www.php.net/manual/en/install.unix.apache2.php says this:
#
#mod_rewrite may be used To allow any arbitrary .php file to be displayed
#as syntax-highlighted source code, without having to rename or copy it
#to a .phps file
#
RewriteEngine On
RewriteRule (.*\.php)s$ $1 [H=application/x-httpd-php-source]
ServerName localhost
ServerTokens Full