Red Hat Bugzilla – Bug 152973
PHP should handle files with .phps extension correct
Last modified: 2007-11-30 17:11:02 EST
Description of problem:
PHP should handle files with .phps extension correct.
Version-Release number of selected component (if applicable):
Actual results / Expected results:
--- php.conf 2004-11-10 12:10:24.000000000 +0100
+++ php.conf.rsc 2005-02-28 16:10:18.000000000 +0100
@@ -12,6 +12,11 @@
AddType text/html .php
+# Cause the PHP interpreter to handle files with a .phps extension.
+AddType application/x-httpd-php-source .phps
# Add index.php to the list of files that will be served as directory
Thank you for checking in the enhancement into Core CVS, but why don't you enable
the .phps extension per default?!
Oh, just because it wasn't enabled by default before.
...which I think is OK. It's not that common to want this, I think.