Why doesn't my php app works in IIS for Vista?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
RedTinCan
Forum Newbie
Posts: 2
Joined: Fri Sep 25, 2009 12:37 pm

Why doesn't my php app works in IIS for Vista?

Post by RedTinCan »

Hi,

i am taking over a php application which was previously developed in Linux environment.

Right now, my task is to bring the PHP app running in Linux environment to a Windows IIS Server 7.

I've configured my PHP installation in Windows IIS 7 under the OS Win.Vista.

When i try to create a simple Hello World app.. i can run my app under Localhost in web browser..

the problem happens when i copy paste the "already developed" php application from Linux
to Windows IIS, i cant seem to run my app.. yet, my HelloWorld app is working perfectly,
does anyone know what could be the problem?

RTC.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Why doesn't my php app works in IIS for Vista?

Post by jackpf »

Define "cant seem to run".
RedTinCan
Forum Newbie
Posts: 2
Joined: Fri Sep 25, 2009 12:37 pm

Re: Why doesn't my php app works in IIS for Vista?

Post by RedTinCan »

Hi,

i had installed PHP and IIS7 on my Vista machine.
Then i tried to create a simple Hello World and phpinfo(); php page and tried executing it.
I was able to see my HelloWorld Page and phpinfo() via my web browser.


Therefore, i decided to put my previously running php for testing and i get the following
problem when i tried to execute it via web browser:

HTTP Error 500.0 - Internal Server Error
The page cannot be displayed because an internal server error has occured.


Do you all know what could be the reason? I had previously use another machine (running on Linux)
to develop this php app and its working fine in the development machine, but when i try
to bring it over to another machine, it will give the HTTP 500.0 Error.


Can help me on this ?
Doug G
Forum Contributor
Posts: 282
Joined: Sun Sep 09, 2007 6:27 pm

Re: Why doesn't my php app works in IIS for Vista?

Post by Doug G »

If you're using IE turn off the IE setting 'show friendly http errors' and you may get the actual error description of the 500 error.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Why doesn't my php app works in IIS for Vista?

Post by jackpf »

Yeah, IE's messages are pretty annoying. It's probably your PHP code not displaying anything (parse error, or some kind of fatal error maybe), which IE interprets as an internal server error.
Post Reply