There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section. Before you post please read this
I'm missing something. I have apache2 installed and I have php5 installed (both using the Install Software manager). However when I try to browse to a php file on localhost (for example http://localhost/myfolder/index.php), Firefox prompts me with "what should Firefox do with this file?"
I'm at a loss - why doesn't Firefox know how to open a php file? I browse to php files all the time on web pages, so why not on localhost?
That means the scripts aren't being parsed, just delivered as regular text files.
I reccomend using XAMPP (an easy-to-install combo of Apache/PHP/mysql)
It automatically configures everything so that it works right away.
Once it is installed if you only want to use the Apache + PHP part, you can delete the other parts =)
here is the howto