We have an
AddType as follows:
AddType application/x-httpd-php-source .phps
I was wondering what this was, and did some searching. It seems this is barely documented anywhere. Based on a hunch, I made a copy of index.php to index.phps. As expected, loading that file displays the PHP source instead of the rendered web page.
Nice feature, but it seems to me this could be a security issue. Why would someone what to use this feature. Is there discussion of this aspect anywhere?