Jump to content

HTTP Error 500 after upgrading PHP from 7.2 to 7.3


Go to solution Solved by Nathan Explosion,

Recommended Posts

Posted

Hello all,

This is what happened:

1. I initiated the upgrade of my Community from IPS v4.4.10 to the latest version of IPS 4.5.4.2

2. During the upgrade process, I received the warning that my PHP 7.2.x was deprecated and I would need to upgrade to 7.3.x+

3. I continued with the upgrade process and everything went well.

4. Website was upgraded to IPS 4.5.4.2 while still running PHP 7.2.x and everything was working well.

5. I upgraded PHP to 7.3 on my server and applied it to my site.

6. Now when I try to access my website, I get the following error: HTTP Error 500

 

The only way I can get my website to work again is by reverting back to PHP 7.2.x on my server.

How can I remedy this?

Posted
Just now, LDDG said:

How can I remedy this?

You'll want to make sure error reporting and logging is turned on for php and then review those logs to see what's wrong. Also check your web server logs.

Common issues may be not having enabled/installed needed PHP extensions.

Posted
1 hour ago, CoffeeCake said:

You'll want to make sure error reporting and logging is turned on for php and then review those logs to see what's wrong. Also check your web server logs.

Common issues may be not having enabled/installed needed PHP extensions.

I did the above and this is the error I get:

Fatal error: Uncaught Error: Call to undefined function IPS\mb_internal_encoding() in /home/*****/public_html/init.php:541 Stack trace: #0 /home/******/public_html/init.php(1532): IPS\IPS::init() #1 /home/*****/public_html/index.php(12): require_once('/home/*****...') #2 {main} thrown in /home/*****/public_html/init.php on line 541

 

Posted
58 minutes ago, Nathan Explosion said:

Make sure you have PHP's mbstring extension loaded.

Thanks, that did the trick! That and other extensions needed to be loaded.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...