Setting up Easyphp to process htm files as php

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.

+3
source share
1 answer

you need to add the same line to conf_files / httpd.conf
since apache / conf / httpd.conf is regenerated every time you start your server.

+4

Source: https://habr.com/ru/post/1709655/


All Articles