Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS5.1 + PHP IE downloads the php page instead of executin..

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  how to put a personal site online  
Author Message
Andy M

External


Since: Sep 30, 2007
Posts: 5



(Msg. 1) Posted: Fri Jan 18, 2008 11:05 pm
Post subject: IIS5.1 + PHP IE downloads the php page instead of executing it
Archived from groups: microsoft>public>inetserver>iis (more info?)

GDay All,

When I go to localhost/joomla instead of the index.php page executing it
wants to be downloaded. I know this is something simple to fix but what
gets me is that I have other installations of php based cms packages
that are all working fine.

What am I missing here?

Can someone point me in the right direction please.

Regards
Andy M

 >> Stay informed about: IIS5.1 + PHP IE downloads the php page instead of executin.. 
Back to top
Login to vote
David Wang

External


Since: Nov 14, 2007
Posts: 361



(Msg. 2) Posted: Sat Jan 19, 2008 1:19 am
Post subject: Re: IIS5.1 + PHP IE downloads the php page instead of executing it [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jan 18, 4:25 pm, Andy M <trump... DeleteThis @optusnet.com.au> wrote:
> GDay All,
>
> When I go to localhost/joomla instead of the index.php page executing it
> wants to be downloaded. I know this is something simple to fix but what
> gets me is that I have other installations of php based cms packages
> that are all working fine.
>
> What am I missing here?
>
> Can someone point me in the right direction please.
>
> Regards
> Andy M


You did not setup application mapping of .php to your PHP
installation. Thus, .php is treated as static file by IIS and
downloaded by IE.

You have a bug in the installer or installation process of PHP.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

 >> Stay informed about: IIS5.1 + PHP IE downloads the php page instead of executin.. 
Back to top
Login to vote
Andy M

External


Since: Sep 30, 2007
Posts: 5



(Msg. 3) Posted: Sat Jan 19, 2008 8:06 am
Post subject: Re: IIS5.1 + PHP IE downloads the php page instead of executing it [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

David Wang wrote:
> You did not setup application mapping of .php to your PHP
> installation. Thus, .php is treated as static file by IIS and
> downloaded by IE.
>
> You have a bug in the installer or installation process of PHP.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //

GDay All,

David, thanks for the reply. However, I don't think that is the problem.
My application mapping points to \php\php5isapi.dll.

I do have php installed and working!! but for some reason I cannot get
this installation of joomla to work. Every time I navigate to this
particular folder it insists on wanting to download the file rather than
display it as normally would happen.

The other installations of joomla, drupal etc. I have on this machine
display and run as they should.

I think this is a file permissions issue but I really don't know what.

I've been going through IIS services and now I seem to have screwed it
up even more. Logging on to localhost I now get a 403 error instead of
the standard welcome to IIS page.

What am I doing wrong here??
 >> Stay informed about: IIS5.1 + PHP IE downloads the php page instead of executin.. 
Back to top
Login to vote
Andy M

External


Since: Sep 30, 2007
Posts: 5



(Msg. 4) Posted: Sat Jan 19, 2008 11:04 am
Post subject: Re: IIS5.1 + PHP IE downloads the php page instead of executing it [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Andy M wrote:
> GDay All,
>
> David, thanks for the reply. However, I don't think that is the problem.
> My application mapping points to \php\php5isapi.dll.
>
> I do have php installed and working!! but for some reason I cannot get
> this installation of joomla to work. Every time I navigate to this
> particular folder it insists on wanting to download the file rather than
> display it as normally would happen.
>
> The other installations of joomla, drupal etc. I have on this machine
> display and run as they should.
>
> I think this is a file permissions issue but I really don't know what.
>
> I've been going through IIS services and now I seem to have screwed it
> up even more. Logging on to localhost I now get a 403 error instead of
> the standard welcome to IIS page.
>
> What am I doing wrong here??

GDay All,

Ok, I have fixed the localhost welcome page problem but I am still
having the problem where the index.php wants to be downloaded instead of
being executed/displayed.

I could really use some help on this.
 >> Stay informed about: IIS5.1 + PHP IE downloads the php page instead of executin.. 
Back to top
Login to vote
Andy M

External


Since: Sep 30, 2007
Posts: 5



(Msg. 5) Posted: Sat Jan 19, 2008 11:04 am
Post subject: Re: IIS5.1 + PHP IE downloads the php page instead of executing it [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Andy M wrote:
> GDay All,
>
> Ok, I have fixed the localhost welcome page problem but I am still
> having the problem where the index.php wants to be downloaded instead of
> being executed/displayed.
>
> I could really use some help on this.

GDay All,

Ok I have managed to solve the problem of the index.php page wanting to
download instead of executing/displaying.

It turns out that my shortcut to this folder had an address pointing to
the actual folder instead of the proper http: address ... Doh!!!

Some mothers do have 'em .....
 >> Stay informed about: IIS5.1 + PHP IE downloads the php page instead of executin.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
iis5 corrupt downloads - I have had several instances this week where several files were downloaded corrupt. I believe this is a cacheing issue as this sort of comes and goes.

Slow downloads of small images over https on IIS5 - We are running Windows 2000 Advanced Server. We have a few pages that are serverd over SSL that contain about a dozen very small images (<1kb). We have some test tools that measure response times and notice that these small images are taking about....

slow page downloads - Client machines running XP SP2 with firewall enabled experience slowness (each page load takes about four times longer). Pages are served from mainframe sitting behind a CISCO 11506 content switch. Images have been offloaded to two Windows 2003..

IIS5 hung only for ASP page request - hi to all, I am running IIS5 on a Windows 2000 server (SP4) ita, with iis lockdown tool with the template ASP application. Sometimes the webserver hung and do not replay to http request where the page requested are ASP. All html site work fine. I se...

IIS5.1: 404 error when ASP page is called - Having previously had this working on my XP machine, I've come back after a month to find this error occuring now. In the meantime, I had installed PHP (v4.2.3) which could easily be a factor. The symptoms are that when I call an ASP page, I get a..
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]