Im using a linux machine, and I followed the instructions seen on https://www.php.net/manual/en/install.php to setup php, apache and my sql.
I did exactly what it said and nothing more, but when I try to open a .php file with firefox or chrome, it downloads…?
Im following a tutorial on learning php seen here: http://devzone.zend.com/node/view/id/625
Note that if you have a
file://URL in the browser address bar it isn’t interacting with the server to process the page.You will need to use
http://localhost/path/to/page/page.php