# Ошибка 500

**URL:** <https://forum.infinityfree.com/t/topic/63942>\
**Category:** Hosting Support\
**Created:** [July 16, 2022, 2:24am UTC](https://forum.infinityfree.com/t/topic/63942 "2022-07-16T02:24:15Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [July 16, 2022, 7:07am UTC](https://forum.infinityfree.com/t/topic/63942/8 "2022-07-16T07:07:18Z")

</div>

> [@SanGer](#):
>
> change the PHP version

Article did not mention that.  
Did you do this?

> [@Http error 500](https://forum.infinityfree.com/t/http-error-500/49352/1):
>
> ### Getting the real error message
> 
> To help fix this, you’ll first want to enable error messages on your website. You can enable PHP error messages from the control panel:
> 
> 1. Login to your control panel.
> 2. Go to Alter PHP Config.
> 3. Select the domain name you are trying to debug and click Alter PHP Directives.
> 4. Set “Display Errors” to “On” and click the Alter PHP Directives to save.
> 
> If you refresh the page, you should hopefully see an error message.
> 
> If don’t see an error message, this is likely caused by your script suppressing or capturing error messages from PHP.
> 
> The first thing to try is to see if your software has a debug mode option, log file or other setting which can be used to get the error message.
> 
> For example, WordPress has a setting `WP_DEBUG` which can be used to show the actual error message. You can learn more about that option in the WordPress knowledge base: [Debugging in WordPress – Documentation](https://wordpress.org/support/article/debugging-in-wordpress/)
> 
> If your software doesn’t have any way to see the PHP errors, it is likely that error message suppression was hard-coded into the application. If you check the PHP code, you will probably see lines like these:
> 
> ```auto
> ini_set('display_errors', 0);
> ini_set('display_startup_errors', 0);
> error_reporting(0);
> 
> ```
> 
> Commenting out lines like these should enable the PHP error messages.
> 
> If this still doesn’t allow you to see any error messages, please contact the script developers for help.

---

_[View the full topic](https://forum.infinityfree.com/t/topic/63942)._
