HTTP ERROR 500: fixing PHP errors on your website

When you open your website, your browser may show a page saying “This page isn’t working” and “is currently unable to handle this request” with the error code HTTP ERROR 500. Some browsers show a blank page instead.

This means the PHP code of your website has crashed. The browser’s error page doesn’t tell you why, so the first step is to get the actual error message.

Seeing a “Something Went Wrong!” page instead? That page is shown when your .htaccess file contains an error, not your PHP code. See Fixing .htaccess errors (“Something Went Wrong!”) instead.

Step 1: Show the real error message

You can enable PHP error messages from the control panel:

  1. Log in to your control panel.
  2. Go to Alter PHP Config.
  3. Select the domain you are trying to debug and click Alter PHP Directives.
  4. Set Display Errors to On and click Alter PHP Directives to save.

Refresh the page on your website. You should now see an error message instead of the HTTP ERROR 500 page.

Turn Display Errors off when you’re done. Error messages are shown to every visitor and can reveal file paths and other details about your website.

Still no error message?

Your software may be hiding or capturing PHP errors itself, overriding the Display Errors setting. Check if it has a debug mode or a similar setting:

  • WordPress: set WP_DEBUG to true in wp-config.php. See Debugging in WordPress.
  • Laravel: set APP_DEBUG=true in your .env file. Set it back to false when you’re done, because Laravel’s debug page can expose your configuration, including passwords.

If your software has no such option, error suppression may be hard-coded in the PHP code. Look for lines like these:

ini_set('display_errors', 0);
ini_set('display_startup_errors', 0);
error_reporting(0);

Commenting out these lines should make the errors visible. If you still can’t see any errors, please contact the developers of your software for help.

Can I see the PHP error log?

No. Free hosting doesn’t keep PHP or web server error logs, so showing the errors on the page is the way to get them.

Step 2: Fix the error

Once you have the error message, the next step is to fix it. There is no single process for this, but these steps solve most issues:

  • Check the file path in the error. Does it point to a specific plugin or theme? Try disabling it to see if the error goes away. Updating or reinstalling the plugin, theme or script can help too.
  • Search the web for the error message, together with the name of the plugin, theme or software causing it. Other people may have had the same error and found a solution.
  • Check the PHP version. Errors like syntax errors or calls to undefined functions can mean your software needs a different PHP version than the one your site runs (see below).

Which PHP version does my site use?

Create a PHP file containing <?php phpinfo(); on your website and open it in your browser. This shows the PHP version your site actually runs. The version shown in the control panel doesn’t always match, so phpinfo() is the most reliable way to check. Remove the file when you’re done.

Getting help

If you can’t find a solution, you can ask for help in the support channel of the plugin or theme causing the issue, on a general programming forum like Stack Overflow, or on the InfinityFree forum in the Hosting Support category. Please include the full error message in your question.

6 Likes
Server error (500 error)
Can’t load my website
Ошибка 500
550 Can't create directory: Disk quota exceeded
Http error 500
Error 500 occurs
Curl is not working
Web Hosting! - mod_rewrite
Part of my website is blank
Web Hosting! - mod_rewrite
So I get 403 Access denied
Webapplication does not start
Webapplication does not start
Htt¨p 500
Error 500
Main
My website doesn't show up
Hosting
Domain Name Stopped Working
Can't access to my website
Error 500
Page dont start
Connection problem with MYSQL
Why my website not working
I can't access my website, error 500
My website is not working
My Website only shows blank page
My web page is partially loading
Showing An error occurred: SyntaxError: Unexpected end of JSON inputbut its ok when run in localhost
This page isn’t workingnuus.42web.io is currently unable to handle this request. HTTP ERROR 500
Some Php Configuration
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Subdomain not working
Some Php Configuration
SQLSTATE[HY000] [2002] No such file or directory
My website dont works
You can't access to a certain page
Error 500 Using Mybb plugins
How to create a login and sign in
Error 500 Help mee
SQL -> JSON -> HTML not displaying on InfinityFree
InfinityFree Blank Page On Website Load, Wordpress
New domain redirects to 404
500 server issues http
How to restore my web?
Can't create a php file
I can no longer reach my wp-admin login page
Laravel 500 Error and Display Error Issue
Probleme when trying to connect to FTP with FileZilla
500 Server error
Site is not working
pH7Builder through Softaculous does not work
You can't access to a certain page
Internal server error
Laravel 10 Support
Error when going to site with Vanilla installed
White screen trying to use PHPMailer
My web page not working-error 500
Error 500
404 error
Site down, IP not reachable
I'm Getting and Error when trying to view my custom website
SLiMS software not working
Error 500 after quick installation of prestashop 1.6
My website is blank whenever I try to access it
CSS styling and structure error
Index.php
I can't see my website errors
Install TNG
Elementor pro not works
Blank Site!
MySQL Host Address Not Working
Server Error 500
Website not run
My other webpages in not working
Create new dbuser
Error when trying to login into my hosted site
Internal Server Error
Welcome page
WebERP install
How do I change a file permission in the File Manager
Error 500 on fully PHP pages
My site doesn't work well
Error 5000 when connecting database with .php file
Error 500
apache
Website migration
Error 500 idk why
500 Internal Server Error
Form's script can't conect to database
Installing phpbb error 404
Error 500 when visiting website
When uploading my website with php and mysql and jquery
500
Error when entering my website
Oxwall Site 500 Error
Website not active even though the account is active
Is wrong with you
Htaccess and index
No such host is known
Htaccess and index
XMLHttpRequest blocked by CORS
My entire epizy website disapeared
My entire epizy website disapeared
Http error 500
Htaccess and index
Http error 500
Error 500
Unexpected character at line 1 column 1 of the JSON data
Website
Connect with my physical server
My website is not working
Website
Help with social network?
Is zen cart supported on free hosting?
Deploy my Symfony App
http://dreamgallery.rf.gd/dreambase/
My website sometimes shows up and sometimes it's blank
My website sometimes shows up and sometimes it's blank
Http error 500
Help me please
Help with social network?
Intl
XMLHttpRequest error with 500 (Internal Server Error) code
Hey people Im going try to renovate my website using php/mysql scripts
The server returned a "500 Internal Server Error"
The following errors were found : Could not write the Configuration File update_pass.php Could not
White screen error
Set up a new domain
Very new need a lot of help
White screen error
How to use PHPmailer in InfinityFree
HTTP server error 500
Error 500
Can not view my php web app i just uploaded on infinity free
This page isn’t working
White Screen
Issues when testing mysql database
Http error 500
Webapplication does not start
500 Internal Server Error
My website cant be reached!
Are there any impediments to free accounts from installing OSClass?
I keep getting this error on my website, please help
JS Button
Php file keeps returning as html text
SIte Not Working
How can i solve 500 error?
404 error
Suddenly and without having changed anything, website went blank!
HTTP Error 500
My website reload but stuck
My website reload but stuck
Causes PHP error after using the plugin
Inaccessible website
Fail to upload image with php
Blank Website?
Hi
Problems with Astra-InfinityFree-Wordpress
Site down after PHP 8.2 and MariaDB 10.4 upgrades
My website displays HTTP Error 500
Blank white page - Console shows 500 error
PhPmailer is not working, but there are no errors
I can't upload image that is 2.9Mb for my new post
Laravel website not working
Server error (500 error)
My site is down
Site loading slow + problems with File Manager
A subdomain is down
This page is not working
Htacess 500 error
HTTP 500 Error (PHP)
White screen of death
Error 500 Portuguese Language
Http error 500
This page is not working
Why this website appears with the error 500?
Htacess 500 error
Blocked by CORS policy:
403 error when accessing wp-admin
Htacess 500 error
Htacess 500 error
Http problem
Can't upload data inot DB with PHP
Http problem
Http problem
Uploading WordPress
Error 500
My website showing http error 500 and not removing on refresh
Page does not respond This page isn’t working right now HTTP ERROR 500
Getting 500 http error
500
Redirection of site for OVH domain
Unable to install thirty bees through Softaculous
500 Error for no reason
Unable to install thirty bees through Softaculous
Page works on localhost but not on Infinityfree
Not online
Can't access site after manually updating WordPress
Can't access CPanel
My website with custom domain still not see after 2days
Down Time
Website not working after 72hours
Error 2002
I cant install moodle
I can't log in to the control panel
Question marks instead of letters
Website Not Working
My site doesn`t load
Error entering the site
502 Bad Gateway error on website
Ajax jquery error code 500
Problem with PHPMailer, error 500
Accidently refreshed the page during WP update
Connection refused
Site issue
My website isn't working
Problem with displaying PHP websites
Ошибка 500
Ошибка 500
HTTP ERROR 500
Website is not showing (only the default Epizy.com is shown)
I have installed "wallabag" on infinityfree but it showing error "500 Internal Server Error"
Form data submission problem
Question About PHP mkdir
Error 500 when click publish after input html code
Error 500 problem
My website is offline
Http error 500
Http 500
My Website Gives Error 500 and I Can’t Even Access My Files
500 Internal Error and showing directory only
Putting my site in PHP is a real problem for me
Learnerschool.rf.gd is currently unable to handle this request - Error 500
Error 500
404 unknow eror
Website appearing blank
500 Internal Server Error
My ci website cannot on browser
Http://suspendeddomain.org/
I want to clear my cache on my site
Error 500
Some pages aren't loading
Error 500
I cannot access my website
Http error 500
My new website not openning on browser
Index.php problem
All web pages return http 500 not sure why
I can see my web site
Http error 500
Http error 500
This page is down move-it.epizy.com is unable to process this request at this time. Http error 500
How to connect database
Laravel application deployment on Infinity free
Install wp by duplicator
My website is having many server error responses
Error 403 Forbidden - Invalid signature
The screen stays white
Trying to load ixed.7.4.lin
The screen stays white
Why am I getting a blank page?
Http Error 500
Web is not loaded. index file and some more
My website does not work
My website isn't working - laravel project
Laravel
Domain Pointing
Domain Pointing
Domain Pointing
Web load laravel http 500 error
Http Error 500
500 error - PHP upgrade
Why has my site stopped working?
Please let me know if server/websites restored because mine is not
Failed to send data from php code via AJAX and JSON response does not come
Failed to send data from php code via AJAX and JSON response does not come
My site
HTTP 500 Error
Destination Host Unreachable
403 Forbidden
Failed to send data from php code via AJAX and JSON response does not come
500 server error -- Sitebuilder?
Site Down
File PDF
Page not working but not showing any error
Problems
500 Error, please check your php script / enable display_errors in your cpanel
Error
Destination Host Unreachable
500 internal server error
Problem with Mautic installation
Http error 500
Err_connection_timeout
Domain not working properly
Can't ftp to ftpupload.net and can't hit my sites anymore
Uploading my website but it doesn't work - suddenly disappears
Fullcalendar on infinity
Why website is not opening, is this PHP version issue?
Why website is not opening, is this PHP version issue?
20000 forum users - Awesome Special Event!
The site is not working HTTP ERROR 500
can't currently handle this request.
My CNAME is not working
Ferrorterurls.rf.gd
Softaculous "SquirrelMail"
It won't let me do anything
Database and files issue
Getting 500 internal server error
My website doesn’t work
My Website is Blank
My Website is Blank
Featured image
Error 500
Http error 500(kundutalentagency.co.in is currently unable to handle this request)
Change format from index.html to index.php but got HTTP 500 error
PHP update broken site
Website down 500 error all of a sudden
Cannot see errors in Codeigniter project
Http://bkchart2.epizy.com/index.php
Getting 502 bad gateway error
Whenever I upload my .htaccess file my site shows "please enable show errors"
Website down
How to remove preview "Great-Site.Net"
I deleted the admin folder
Php8 version?
My redirect/routing via .htaccess not working
Login ang register says error
500 error
Dompdf
Error 500
Why Are All My Sites So Slow?
Changing htdocs folder gone wrong
Web is down
403 Forbidden
HTTP 500 error
Phpmyadmin error 500
SSL issue
Softaculous drupal HTTP ERROR 500
Installation of PHP based community site called Nova
Why php curl is closed why it won't open
Website returning 500 Error
Website with http error 500
Error 500
Uploaded files,but they dont show
PHP error
My website php pages are not loading
A Full Guide To Cloudflare
My website shows an HTTP Error 500
Website has been fine for months but now shows a <?. Is this outage related?
Site is showing 404 page
Can I connect to Remote Mysql DB hosted on external hosting service?
Getting a ERR_NAME_NOT_RESOLVED on my website
500 Error
Error 500
404 error
NamelessMC Database initialization error
Entire website is blank
Wanted to install phpbb. Error 500
Wanted to install phpbb. Error 500
This page isn’t working HTTP ERROR 500
I get HTTP ERROR 500 error
Http error 500
Unable to access hosted site, unable to find URL
Php
72 hours complete but still website is not live showing error 500
Could not connect to the database
Could not connect to the database
My website is not working
500 Error without reason
My website is not accessible after 4 days
Why my website showing this?
MySQL cannot do CRUD functions via REST API
Error 500 when i try to post on my database
PHP system down on my site
HTTP Error 500
"Parked" domain not working
500 internal server error
500 internal server error
500 Internal Server Error
Incorrect NS Records Served by nsX.byet.org for doai.id.vn (WHOIS Correct)
HTTP error 500 on one of my websites
Internal Server Error code 500 on my website
Error 500
Php Mailer Problem idk if php mailer was working here
500 internal server Error
This bad site is restricting my login
Http 500
Http 500
Error code: 500 Internal Server Error Pls Help
Website is not loading .php files
File uploads on File Manager
Page isn't working
I have successfully migrated my WordPress site, but nothing is displayed
Suspended domain
Error
The data base was deleted by mistake
Css and images not loading
Http error 500
Internal Server Error
Subject: Urgent Assistance Needed: Persistent 500 HTTP Error on My Website
[Help] Site Down After “Alter PHP Directives” — Showing .htaccess Error
WordPress Media Uploads Stuck on Loading Bar (Files <1MB) - Need Help
Hosting
My domain active but i can't access my website
HTTP ERROR 500 what can i do?
Https://roster.wuaze.com/director/view_student_roster.php This page isn’t working roster.wuaze.com i
Root directory reading issues
Access Denied Error for MySQL User
Moving files to wrong a wrong folder
Cannot Access Admin Dashboard - Server Crash on Login (stardoctornode.great-site.net)
Https://pusanggala.site/
Can some Check my Site?
Having trouble getting Laravel to work
500 Internal Server Error & Debug Log Not Being Created
Index.php
HTTP Error 500 after I clicked Login on my login page
Error 500 if i install Kuked Klan in Softaculous
Site Lacking Index.html,Index.php file
React+php hosting
Website not loading with no errors
Account suspended why?
Media Wiki Softaculous Installing Error
Site has HTTP 500 error
403 Forbidden error
How to upload vendor folder in laravel
My database is not responding or displaying queries through Forms
I Want to host my larvel
Error has been fixed
Http error 500
I'm getting HTTPS 500 error when I try to upload photos (Error :"No JPEG support in this PHP build")
Error with a project
Error 500
How can i solve http error500
My DB is allright? DB connection is good?
Problem Loading the website with error 403 forbidden
Why my website is not loading?
My Site is offline but everything looks ok in my account
Error 500
Hanif.rf.gd is currently unable to handle this request. HTTP ERROR 500
Http error 500
Website Being Blank
I get the following error
Error 500
Suspended Domain stillherco.xo.je - Need Backup for Migration
Www.baclive.page.gd
I'm unable to access my site
My website doesn't work!
500 ( Internal Server Error)
Why codeigniter4-framework-v4.6.4-0-ge4d3702 give error
Error load page HTTP ERROR 500
MySQL Database Problem
MyBB installer fails with 500 Internal Server Error on database step
My website is not working
Can't seem to connect to MySQL
Weird http 500 error
96 hours later impossible to access the site
Googlebot getting 5xx server error - please whitelist
502 Bad GateWay openresty
Http error 500
My website is not working
Unable to load website
Probleme de creation de sous-domaine
Migrated website empty
[RESOLVED] Connection Timeout Errors on websites - 3 June 2026
Is host blocking http requests
500 error accessing dashboard
HTTP ERROR 500
72 hours and still 'Forbidden'
Howto.rocks iusse cause 500 internal sever issue?
Website unreachable (Error 500)
185.27.134.148 are unreachable
Http error 500
500 Internal Server Error
Subject: Images not displaying on custom domain
502 to be 500
Internal Server Error
Website unreachable – ERR_CONNECTION_RESET – IP 185.27.134.128
Server 185.27.134.133 accepts connections but returns an empty reply
Laravel 12 site returns HTTP 500 on InfinityFree
Can't access my website
Error
Error
Infocrac.ct.ws inaccessible; account IP unknown
Website returns HTTP 500 when testing PDO/MySQL connection
HTTP 500 error when running Laravel 13 on InfinityFree
My website stop working
502 Bad Gateway (openresty) on my website and simple PHP test file
Password reset is temporarily unavailable
HTTP 500 Error
How can I check my PHP version and Laravel 13 compatibility?
Access to vendor folder
Access to vendor folder
Can't see the login form of website with mysql
My website is down
HTTP ERROR 500
I have been waiting for DNS caching since 6 days
Problemas de activación de Moodle
Why can't it load? please help

A post was split to a new topic: My website displays HTTP Error 500