running php locally
Posted: Wed Nov 22, 2006 2:53 pm
I'm getting back into writing some php, after quite some time. I'm a little rusty.
I have apache started. Document Root is /srv/www/htdocs. The site I am working on is in /srv/www/htdoc/MySite/. In that directory are index.htm and mypage.php. index.htm displays, with a link to mypage.php.When I click on this link, firefox says:
You have chosen to open mypage.php
which is a: PHP file
from: /srv/www/htdocs/MySite
What should firefox do with this file?
Open with [Browse[
Save to disk
What have I forgotten to set up, initialize, turn on ...?
I have apache started. Document Root is /srv/www/htdocs. The site I am working on is in /srv/www/htdoc/MySite/. In that directory are index.htm and mypage.php. index.htm displays, with a link to mypage.php.When I click on this link, firefox says:
You have chosen to open mypage.php
which is a: PHP file
from: /srv/www/htdocs/MySite
What should firefox do with this file?
Open with [Browse[
Save to disk
What have I forgotten to set up, initialize, turn on ...?