Hi,
I am setting up Apache and PHP on my XP machine. I am using 127.0.0.1 to access it.
I am trying to get the below code to run as phpinfo.php, which is in my htdocs folder:
<?
phpinfo();
?>
Apache itself works fine. I installed PHP (php-4.2.1-Win32.zip) and followed tutorials to set it up with Apache. (Putting a php.ini file in the Windows directory, modifying httpd.conf, etc.).
Before doing this, Apache would just show me the php code in my browser. Now, it gives me a "Save As Dialog box." I've searched other forums and groups.google.com for a solution, but I haven't been able to find one. I know this will be an obvious fix, but I sure would appreciate any help.
Thanks!
-Dan