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

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

am 19.01.2008 01:25:42 von Andy M

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

Re: IIS5.1 + PHP IE downloads the php page instead of executing it

am 19.01.2008 10:19:02 von David Wang

On Jan 18, 4:25=A0pm, Andy M 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
//

Re: IIS5.1 + PHP IE downloads the php page instead of executing it

am 19.01.2008 12:06:30 von Andy M

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??

Re: IIS5.1 + PHP IE downloads the php page instead of executing it

am 19.01.2008 13:41:43 von Andy M

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.

Re: IIS5.1 + PHP IE downloads the php page instead of executing it

am 19.01.2008 14:00:37 von Andy M

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 .....

Re: IIS5.1 + PHP IE downloads the php page instead of executing it

am 19.01.2008 20:59:11 von Martin Vaupell

>
> 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.

Care to share, i have same issue regardless if its Asp, php, or htm.
and i got asp, php working before, but after a reboot all the crap does is
download.

;p hehe tx