Discussion:
[PHP-INSTALL] Windows: Can't open PHP files on my server -- get a dialog box instead
leyton collins
2008-11-04 18:12:59 UTC
Permalink
Hi everyone / anyone,
 
I'm a newbie to PHP and configuring my machine to run it. Here's my situation:
- Any time I try to open/test a PHP file (located on my machine) on my browser (IE7) the response I get is the dialog box that says "Do you want to open or save this file?"
- I can open (view) PHP sites on the web no problem
- My OS is WinXP Pro (latest updates applied)
- I'm running IIS 5.1 as my web server
- MySQL is running and the TCP port 3306 is open
- I installed PHP 5.2.5 using the msi installer
- I've rebooted
- My permissions and system variables appear to be properly set up

Any suggestions on what next steps I can take?

Thanks,
Leyts



__________________________________________________________________
Get the name you've always wanted @ymail.com or @rocketmail.com! Go to http://ca.promos.yahoo.com/jacko/
Tommy Peterson
2008-11-04 18:32:21 UTC
Permalink
It is because you are not viewing them through your server but locally.
Daniel Brown
2008-11-04 22:08:26 UTC
Permalink
On Tue, Nov 4, 2008 at 1:32 PM, Tommy Peterson
Post by Tommy Peterson
It is because you are not viewing them through your server but locally.
Tommy,

When writing to the lists, please use plain-text as opposed to HTML mail.
--
</Daniel P. Brown>
http://www.parasane.net/
***@parasane.net || ***@php.net
Ask me about our current hosting/dedicated server deals!
Sunil Bhatia
2008-11-05 03:45:11 UTC
Permalink
You should set the MIME type in httpd.conf file.

Read on my site on how to configure PHP, Apache and MySQL.

http://www.sunilb.com/php/php-tutorials/how-to-configure-php-on-apache-windows

Regards,
Suniil
http://www.sunilb.com - PHP5 Tutorials



On Wed, Nov 5, 2008 at 12:02 AM, Tommy Peterson <
Post by Tommy Peterson
It is because you are not viewing them through your server but locally.
Daniel Brown
2008-11-05 15:11:29 UTC
Permalink
Post by Sunil Bhatia
You should set the MIME type in httpd.conf file.
Read on my site on how to configure PHP, Apache and MySQL.
And you should read the thread to know what's being said before
you SPAM your links to the list. It had nothing at all to do with
Apache.
--
</Daniel P. Brown>
http://www.parasane.net/
***@parasane.net || ***@php.net
Ask me about our current hosting/dedicated server deals!
Loading...