Have an issue using .htaccess to change HTML to PHP -


i have site loads of html files of them require little php functions. have heard .htaccess can handle , tried code below ...

removehandler .html .htm addtype application/x-httpd-php .php .htm .html 

... when if open page asks me download .php file

this suggests not have mod_php installed or enabled.

the web server needs know how handle php files want handle php.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -