I am trying to run php in html. I know that I can change this to a .php file, but for some complication reasons, I cannot do this. Mainly, I am running nodejs code, and forwarding to a directory. It's not working when I try to forward to this directory with a .php extension.
Anyways, I am trying to get my server to just be able to read php in html files. I have tried this in my .htaccess:
AddType text/html server-parsed .shtml .shtm .htm .html
AddHandler x-mapp-php5 application/x-httpd-php
but no cigar. php in the html file is commented out in real time when I try to view it in realtime. Please if any ideas. Thanks.