# Some Php Configuration

**URL:** <https://forum.infinityfree.com/t/some-php-configuration/85989>\
**Category:** Hosting Support\
**Created:** [November 10, 2023, 6:44am UTC](https://forum.infinityfree.com/t/some-php-configuration/85989 "2023-11-10T06:44:29Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![ChrisPAR](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/chrispar/32/8743_2.png) [@ChrisPAR](https://forum.infinityfree.com/u/ChrisPAR)\
**Post date:** [November 10, 2023, 1:25pm UTC](https://forum.infinityfree.com/t/some-php-configuration/85989/14 "2023-11-10T13:25:13Z")

</div>

I don’t suspect your .htaccess, I think the error may be in your PHP code. Can you do this?

> [@Http error 500](https://forum.infinityfree.com/t/http-error-500/49352/1):
>
> ## Fixing crashing PHP code
> 
> A HTTP ERROR 500 simply tells you that the PHP code has crashed, but gives no information as to why it has crashed.
> 
> ### 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.

---

_[View the full topic](https://forum.infinityfree.com/t/some-php-configuration/85989)._
