« Previous Next »

Not Answered Thread: HTTP-fout 500.0 - Internal Server Error 0x000000ff

Last post 11-17-2009 7:04 PM by brashquido. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 10-30-2009, 6:42 AM

    HTTP-fout 500.0 - Internal Server Error 0x000000ff

     Hello,

     I have a problem when i try to connect to my MS SQL database. When i go to localhost in my web browser i get this error:

    HTTP-fout 500.0 - Internal Server Error

    C:\Program Files\PHP\php-cgi.exe - The FastCGI-proces exited unexpectedly

    ModuleFastCgiModule
    MeldingExecuteRequestHandler
    HandlerPHP_via_FastCGI
    Foutcode0x000000ff
    Aangevraagde URLhttp://localhost:80/index.php
    Fysiek padC:\inetpub\wwwroot\index.php
    AanmeldingsmethodeAnoniem
    Aangemelde gebruikerAnoniem

     (The FastCGI-proces exited unexpectedly may be wrong translated, but i think you know what i mean?)

     Here is my index.php file:

     <html>
    <head>
    <title>Monitor met zoekfunctie</title>
    </head>
    <body>
    <div id="header">
    Header
    </div>
    <br />
    <div id="Zoeken">
    Zoeken
    </div>
    <br />
    <div id="Monitor">

    <?php

    $myServer = "SYSADMIN-PC\SQLEXPRESS";
    $myUser = "myusername";
    $myPass = "mypassword";
    $myDB = "cdr";

    $conn = mssql_connect($myServer, $myUser, $myPass)
    or die ("Kan niet verbinden met $myServer");

    $selected = mssql_select_db($myDB, $conn)
    or die ("Kan de volgende database niet openen: $myDB");

    echo "Je bent verbonden met de database " . $myDB . " op de server " . $myServer . ".";
    echo "<br />";
    $query = "SELECT TOP 20 CallId FROM Table_1";
    $result = mssql_query($query);

    while($row = mssql_fetch_array($result))
    {
    echo $row["CallId"];
    echo "<br />";
    }
    mssql_close($conn);

    ?>

    </div>
    </body>
    </html>

    This DID work but now (a few days after i installed IIS and PHP) i get the error page.

    I'm running IIS 7.5 and  Windows 7.

    I hope someone can help me.

  • 10-30-2009, 10:22 AM In reply to

    Re: HTTP-fout 500.0 - Internal Server Error 0x000000ff

     I think i already found a solution... don't know if it will keep working now....

    I have added 'php' in front of my end tag ?>

    It's like magic :p

  • 11-02-2009, 4:02 AM In reply to

    Re: HTTP-fout 500.0 - Internal Server Error 0x000000ff

     I get the same error again...

    I found out, that the problem comes when i connect to the mssql database..

    Anyone got a solution to this?

  • 11-03-2009, 12:48 AM In reply to

    Re: HTTP-fout 500.0 - Internal Server Error 0x000000ff

    Hi,

    It is possible the MySQL setting up incorrectly. Could you please double-check the following article:

    Setting up MySQL for PHP applications
    http://learn.iis.net/page.aspx/610/setting-up-mysql-for-php-applications/

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • 11-06-2009, 6:03 PM In reply to

    • fdnz.mat
    • Not Ranked
    • Joined on 11-06-2009, 10:55 PM
    • Posts 1

    Re: HTTP-fout 500.0 - Internal Server Error 0x000000ff

    Weird - I also have this problem, and also only when connecting to MSSQL (even then, not always).

     Leo - bearing in mind we aren't using MySQL, what would you suggest?  Here's what I get from FREB:

    ModuleName: FastCgiModule
    Notification: 128
    HttpStatus: 500
    HttpReason: Internal Server Error
    HttpSubStatus: 0
    ErrorCode: 255
    ConfigExceptionInfo:
    Notification: EXECUTE_REQUEST_HANDLER
    ErrorCode: The extended attributes are inconsistent. (0xff)

  • 11-17-2009, 7:04 PM In reply to

    Re: HTTP-fout 500.0 - Internal Server Error 0x000000ff

    How are you connecting to your MSSQL database? Have you checked out the Microsoft SQL Server Driver for PHP?

     http://sqlsrvphp.codeplex.com/

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    www.iis-aid.com
    My IIS articles
    My PHP articles
    My How-to guides
Page 1 of 1 (6 items)
Microsoft Communities