php 500 errorRSS

2 replies

Last post Mar 18, 2018 10:54 PM by jonnieallen

  • php 500 error

    Feb 06, 2018 07:08 AM|jonnieallen|LINK

    I am getting a 500 error from php as below:

    ModuleName FastCgiModule
    Notification 128
    HttpStatus 500
    HttpReason Internal Server Error
    HttpSubStatus 0
    ErrorCode 0
    ConfigExceptionInfo
    Notification EXECUTE_REQUEST_HANDLER
    ErrorCode The operation completed successfully. (0x0)
    Appreciate any help. thanks in advance
  • Re: php 500 error

    Feb 07, 2018 02:05 AM|Yuk Ding|LINK

    Hi jonnieallen,

    500 error means that your application code or PHP fastcgi configuration is not set correctly. could you load the phpinfo.php page

    <?php phpinfo(); ?>

    If it is not loaded correctly, then you need to ensure the php-cgi.exe has been imported to IIS handler mapping.

    Please check the steps in this link:

    https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-a-php-website-on-iis/configuring-step-1-install-iis-and-php

    If phpinfo.php could be loaded correctly, then you need to check the code is written without any issue.

    Best Regards,

    Yuk Ding

    Yuk Ding

    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue.
  • Re: php 500 error

    Mar 18, 2018 10:54 PM|jonnieallen|LINK

    Hello,

    The server loads the phpinfo() correctly.  I run several sites using php from that server and they run fine however its only one with the issue.

    I appreciate you mentioned to check the code however this particular website isn't something I built and is a opensource system run by many people with out issue.  The system is call InvoiceNinja - https://www.invoiceninja.org/

    Sorry for the delay in response and would appreciate any further support.