473,320 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

500 Internal Server Error w/ PHP 5 and Vista

Hello!

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?

Oct 4 '07 #1
1 8482
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

BethH wrote:
Hello!

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

Jim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHBYn2QuDJiZ/QrH0RApKoAKDIzVTcDuPv2AxVGCEGPIr1iN6p4ACglf3W
jVYqIZH8vCdlaSU4+NTg0tI=
=tHr3
-----END PGP SIGNATURE-----
Oct 5 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Ben | last post by:
hi when I try to excecute an ASP (either JS or VB) script to say, access a database record, I get an Internal Server Error HTTP 500.100 Why? and HOW CAN I FIX THIS? Thanks
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
4
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and...
3
by: ianforgroupuse | last post by:
I'm running Vista Business edition on 2005 Virtual PC. Installed SQL Server 2005 Express latest download, with instance of MSSQLSERVER and service accounts running under "NT AUTHORITY\SYSTEM"....
7
by: TerpZebra | last post by:
I am having difficulty connecting to SQL Server 2000 on one of our servers via a VB6 program on Vista. I can connect fine to a different server, but it gives me the following error with the server...
1
by: =?Utf-8?B?UlJN?= | last post by:
Hi all, I I tried to find the group for Virtual Server but failed, so I have placed this in general. My problem. During the installation of Virtual Server 2005 R2 SP1 The installer stops...
3
by: Junior | last post by:
Vista SP1 IIS7 I'm trying to configure web.config following MSDN docs but keep getting errors I don't know how to resolve.. <configuration> <!--error--> <appSettings...
2
Frinavale
by: Frinavale | last post by:
I thought it would be nice to share the solution to my IIS headache with the rest of the world. I have developed a web application that has been distributed. Upon installing my application, some...
2
xarzu
by: xarzu | last post by:
This link: http://bytes.com/groups/php/718249-500-internal-server-error-w-php-5-vista describes the error I am having. It suggests that it has to with the permissions of a file. I assume it is...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.