...
Code Block |
---|
<IfModule mod_php5.c> <FilesMatch "\.ph(p|tml)$"> SetHandler application/x-httpd-php </FilesMatch> <FilesMatch "\.phps$"> SetHandler application/x-httpd-php-source </FilesMatch> </IfModule> |
Note |
---|
After PHP 5.6, the 5.x numbering has been dropped. Later versions are named (eg) |
You may wish to restrict the configuration for parsing of .php
files to the COmanage Registry directory by embedding the <FilesMatch>
element inside of an appropriate <Directory>
element. See the Apache httpd documentation.
...