500 Internal Server Error w/ PHP 5 and Vista

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm developing a webpage locally.  I originally started it on PHP 5
and XP (where it was working).  We've recently changed my machine to a
dual boot with most of the important stuff on Vista, so I'm going
about getting the page up and working in Vista.

It will load the first page without issue, but if I try to get to the
second page (or any page other than 'index.php'), it throws a 500
error at me:

HTTP Error 500.0 - Internal Server Error

Description: The page cannot be displayed because an internal server
error has occurred.

Error Code: 0x00000000

Notification: ExecuteRequestHandler

Module: IsapiModule

Requested URL: http://localhost:80/cmm/home.php

Physical Path: C:\Code\Cleary\Marketing\home.php

Logon User: Anonymous

Logon Method: Anonymous

Handler: PHP

Here's what I've done:

php.ini is copied to the windows directory and permissions are set to
allow IUSR read and execute.  The extension path inside php.ini is set
to "c:\program files\php\ext"  (I had it installed to 'c:\php' in
XP).  I've set up PHP as a handler in IIS.  PHP is also set as an
ISAPI filter, with restrictions set to allow unspecified.

I've tried searching for this, but was unable to find any search
results that helped.

Any suggestions?

Re: 500 Internal Server Error w/ PHP 5 and Vista

Hash: SHA1

BethH wrote:
Quoted text here. Click to load it
 I have run into this a few times my self this week. More often than not
it has to do with the permissions on the file. I don't know if Vista is
doing something different than XP, but in Linux, a minumum of 755 was
necessary to stop the error (owner read/write/execute, user
read/execute, others read/execute). I think in one case while
transferring between Linux and Windows, the error was caused by a messed
up carriage return in the file (basically linux uses '\n' and windows
uses '\r\n', I use a program to re-write my files for each system before
I start testing)


Version: GnuPG v1.4.6 (GNU/Linux)


Site Timeline