On my remote server, I use a string
AddType application/x-httpd-php .php .htm .html
to parse php in files with htm / html extensions.
How can I reproduce this behavior on my local machine running EasyPHP.
I tried adding the same line to Apache / conf / httpd.conf and restarting the server, but the files are displayed as html files without running PHP code.
Various googles / php docs / stack / easyphp searches did not help.
source
share