updated PHP 7.3 to 8.1.4 now my site will not load

Fill 6 Reputation points

After seeing that I have security vulnerabilities with the version of PHP I have (7.4) I quickly download the latest PHP (8.1.4). I then set a new environmental variables path pointing to the new PHP version. Going to IIS manager and opening up PHP Manager I then clicked "Register new PHP version". After pointing that to the same new PHP version I then try to reach my site which gives me an " This page isn't working right now .... can't currently handle this request. http error 500". Any insight/help to fix this problem would be great!

Internet Information Services
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce Zhang-MSFT 3,736 Reputation points

    Hi @Fill ,

    Unfortunately, IIS no longer supports versions after PHP 8. That means PHP 7 can run well on IIS but PHP 8 cannot.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Bruce Zhang

    0 comments No comments