(I changed Apache Config > PHP/SuExec Config from suphp to dso to be able to run apache modules.)
I am trying to get .phps to load as color-coded php source files.
Here is what I've tried:
AddType application/x-httpd-php-source .phps in the <IfModules ... AddType's section
and
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
(as described in PHP: Apache 2.x on Unix systems - Manual)
I am still unable to get .phps to load as a color-coded php source webpage.
Instead, a file download occurs. Please help!
I am trying to get .phps to load as color-coded php source files.
Here is what I've tried:
AddType application/x-httpd-php-source .phps in the <IfModules ... AddType's section
and
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
(as described in PHP: Apache 2.x on Unix systems - Manual)
I am still unable to get .phps to load as a color-coded php source webpage.
Instead, a file download occurs. Please help!