I have just installed newest version of xampp and I think I messed up something. I tried to open php and it would open as a text, so I did:
Open text editor and type:
RemoveHandler .htm. .htm
AddType application/x-httpd-php .php .htm .html
-Save the file as .htaccess (note the dot) and place in /opt/lampp/htdocs.
then I tried to start lampp and now window opens where it says
you have chosen to open
which is a: application/x-httpd
I have deleted that .htaccess file from /opt/lampp/htdocs but it wouldn't go away now. So my question is:
how do I revert back so I can open localhost normally AND php would work without showing plain text?