HTTP Error 500.0 - Internal Server Error - The FastCGI process exited unexpectedly RRS feed

  • Question

  • User789847838 posted


    After switching a php app from php7.3 to php7.4 on Azure App Service I get the following error message:

    HTTP Error 500.0 - Internal Server Error

    D:\Program Files (x86)\PHP\v7.4\php-cgi.exe - The FastCGI process exited unexpectedly

    Most likely causes:

    • IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
    • IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
    • IIS was not able to process configuration for the Web site or application.
    • The authenticated user does not have permission to use this DLL.
    • The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.

    Detailed Error Information:

    Module    FastCgiModule
    Notification    ExecuteRequestHandler
    Handler    PHP74x86_via_FastCGI
    Error Code    0xc0000005

    Requested URL    https://example:80/index.php/
    Physical Path    D:\home\site\wwwroot\index.php\
    Logon Method    Anonymous
    Logon User    Anonymous

    More Information:

    This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.

    View more information »

    Microsoft Knowledge Base Articles:

    • 294807

    ----- end of error message

    Stack settings:
    Stack: PHP

    PHP Version: 7.4

    Platform: 32 Bit

    Managed Pipeline Version:  Integrated

    Server: Microsoft-IIS/10.0

    Thursday, May 20, 2021 8:10 AM


  • User789847838 posted

    The problem was with an old version of PHP_ZENDEXTENSIONS. I removed this extension, and now the app works with php7.4

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Thursday, May 20, 2021 12:59 PM