I’m trying to setup an Apache/PHP/Postgresql server locally on my machine. I’m using Windows vista business 32bit. I tried to install everything manually (one thing at a time, apache, postgresql and php (all the latest stable releases)) and after I get everything up and running.
Whenever I try to run a script on my machine, I get a ‘What do you want to do with the *.php file?’ dialog. The dialog is the browser’s open/save dialog
I’m just trying to get the output of phpinfo() to make sure everything is up and running…
I already tried to mess around a bit with the Apache conf file, but since I don’t know much about what I’m doing, I reinstalled everything again and the problem is still there. I kinda get the feeling it must have something to do with the PHP thingy isn’t correctly installed.
When i try to get the output of phpinfo as in:
<pre><?php phpinfo(); ?></pre>
I get the browser’s ‘Open/Save’ dialog for the *.php file.
You should have something like this in your httpd.conf file:
Make sure that’s in place, and don’t forget to restart apache!
In Windows, the default location for your conf file is
C:\Program Files\Apache Group\Apache2\conf\httpd.conf