I've had PHP on my Win2K server running IIs 5 for about 2 weeks now.
I have an annoying problem in that I can not run the php
scripts/pages locally, instead they open up in the browser as a
download.
By that I mean that If I access them via my lan or the net from
another computer on my lan, the webpages that have php on them and end
in a .php extension all run fine and work just great.
BUT if I open up the browser on the IIs server and do a file open and
browse to the php page I want, I get the download file box as the
computer trys to download the page instead of executing it.
An alternative method of getting the same error is if I use the
browser on the server to locally open a web page up with a link to a
php script/pagepage, I see the web page just as it should appear, but
as soon as I click on the link to the PHP script/page the same
download & save thing happens instead of the page just being processes
normally.
This is a real pain when I want to just run some scripts locally for
testing or admin purposes.
Anybody know why this would be??
Thanks
Aardwolf
I have an annoying problem in that I can not run the php
scripts/pages locally, instead they open up in the browser as a
download.
By that I mean that If I access them via my lan or the net from
another computer on my lan, the webpages that have php on them and end
in a .php extension all run fine and work just great.
BUT if I open up the browser on the IIs server and do a file open and
browse to the php page I want, I get the download file box as the
computer trys to download the page instead of executing it.
An alternative method of getting the same error is if I use the
browser on the server to locally open a web page up with a link to a
php script/pagepage, I see the web page just as it should appear, but
as soon as I click on the link to the PHP script/page the same
download & save thing happens instead of the page just being processes
normally.
This is a real pain when I want to just run some scripts locally for
testing or admin purposes.
Anybody know why this would be??
Thanks
Aardwolf
Comment