{"id":3848,"date":"2021-07-27T15:18:11","date_gmt":"2021-07-27T15:18:11","guid":{"rendered":"https:\/\/obambu.com\/guide\/?p=3848"},"modified":"2022-07-29T10:27:36","modified_gmt":"2022-07-29T10:27:36","slug":"how-to-fix-500-internal-server-error","status":"publish","type":"post","link":"https:\/\/obambu.com\/guide\/how-to-fix-500-internal-server-error\/","title":{"rendered":"How to fix 500 internal server error"},"content":{"rendered":"\n<p>The <strong>500 internal server error<\/strong> usually pops up to indicate that the web server has encountered a problem and can\u00b4t fulfil the request you gave it.<\/p>\n\n\n\n<p>The problem with this type of error is that the server doesn\u00b4t generate any type of message indicating what\u00b4s wrong. It can appear in various forms:<\/p>\n\n\n\n<p><em>500 Internal Server Error<\/em><\/p>\n\n\n\n<p><em>HTTP 500 &#8211; Internal Server Error<\/em><\/p>\n\n\n\n<p><em>Temporary Error (500)<\/em><\/p>\n\n\n\n<p><em>Internal Server Error<\/em><\/p>\n\n\n\n<p><em>HTTP 500 Internal Error<\/em><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What causes the error?<\/h2>\n\n\n\n<p>Although you can\u00b4t know it straight away what the problem is, here are some of the possible causes of error 500:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>PHP timeout<\/strong>: it happens when the script tries accessing an external resource but encounters a timeout (runs out of time)<\/li><li><strong>Error in .htaccess coding<\/strong>: you should check your site\u00b4s .htaccess code to see if there are any errors.<\/li><li><strong>Permission errors:<\/strong> normally the error is caused by an incorrect permission on some files or folders (usually on a PHP or <a href=\"https:\/\/users.cs.cf.ac.uk\/Dave.Marshall\/PERL\/node187.html\" target=\"_blank\" rel=\"noreferrer noopener\">CGI script<\/a>)<\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to solve the 500 internal server error<\/h2>\n\n\n\n<p>As we\u00b4ve said, this problem almost always comes from the <strong>server\u00b4s side<\/strong>. This means that there\u00b4s probably nothing wrong with your computer or internet connection.<\/p>\n\n\n\n<p>Even though just to discard any possible errors from the user\u00b4s side, try this:<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\"><li>Refresh the page pressing the <strong>F5 key<\/strong> or simply reloading the site<\/li><li>Delete your browser <strong>cache <\/strong>and reload the site<\/li><li>Try entering later<\/li><li>Contact the site to see if there\u00b4s an error<\/li><\/ol>\n\n\n\n<p>In the end, if you\u00b4re entering a site externally and the error pops up there\u00b4s nothing more you can do.<\/p>\n\n\n\n<p>If it\u00b4s your own page you\u00b4re trying to access and the error appears there are a few things you can try to do:<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\"><li>First you should check your <strong><a href=\"https:\/\/obambu.com\/en\/\" target=\"_blank\" rel=\"noreferrer noopener\">hosting provider<\/a><\/strong> to see if the <strong>server broke down<\/strong> or stopped working. Also ask them for a solution<\/li><li><strong>View the log files<\/strong>. The error messages are stored in Linux servers and you can view them typing:<\/li><\/ol>\n\n\n\n<p><strong><em>\/var\/log\/httpd\/error_log<\/em><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to finding\/solving the error<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Check the memory limit<\/strong>: if a certain process uses more <strong>RAM <\/strong>than available it can cause an internal error. You can <strong>increase the limit<\/strong> temporarily to solve the problem with this command on php.ini (typing in the limit you want to set)<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>memory_limit = (XXX)M<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>If your site depends on <strong>PHP connections<\/strong> to access resources from other sources, it can cause errors due to connection interruptions. To fix this, avoid your site depending on external resources.<\/li><\/ul>\n\n\n\n<p>If you can\u00b4t do this, just increase the time limit of your <strong>PHP script<\/strong> and implement error handling.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Deactivate themes or plugins: <\/strong>sometimes, newly added plugins or themes can cause conflict with your server configuration. To find out, deactivate your plugins temporarily going to the dashboard and then <strong>plugins > installed plugins<\/strong> and press the deactivate toggle.<\/li><li><strong>Check if recently updated or new software is installed correctly<\/strong>:  try and refresh your software and check your vendor\u00b4s website for instructions.<\/li><\/ul>\n\n\n\n<p>If after this the problem is solved, re-activate the plugins one by one after you find the one causing the problem and delete it.<\/p>\n\n\n\n<p>I hope you found this article interesting. If you want to know how to solve more connection errors, feel free to check out the <strong><a href=\"https:\/\/obambu.com\/guide\/category\/obambu-tutorials\/\" target=\"_blank\" rel=\"noreferrer noopener\">tutorials<\/a><\/strong> section of our blog.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The 500 internal server error usually pops up to indicate that the web server has encountered a problem and can\u00b4t fulfil the request you gave it. The problem with this type of error is that the server doesn\u00b4t generate any type of message indicating what\u00b4s wrong. It can appear in various forms: 500 Internal Server<\/p>\n","protected":false},"author":2,"featured_media":3849,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-3848","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-obambu-tutorials"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.6.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to fix 500 internal server error - Obambu Guide | Navigating the Web Hosting World<\/title>\n<meta name=\"description\" content=\"The 500 internal server error pops up to indicate that the web server has encountered a problem and can\u00b4t fulfil the request you gave it.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/obambu.com\/guide\/how-to-fix-500-internal-server-error\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to fix 500 internal server error - Obambu Guide | Navigating the Web Hosting World\" \/>\n<meta property=\"og:description\" content=\"The 500 internal server error pops up to indicate that the web server has encountered a problem and can\u00b4t fulfil the request you gave it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/obambu.com\/guide\/how-to-fix-500-internal-server-error\/\" \/>\n<meta property=\"og:site_name\" content=\"Obambu Guide | Navigating the Web Hosting World\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-27T15:18:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-29T10:27:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/bmjaxaz6ads.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"1067\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/obambu.com\/guide\/#website\",\"url\":\"https:\/\/obambu.com\/guide\/\",\"name\":\"Obambu Guide | Navigating the Web Hosting World\",\"description\":\"Explore dozens of tutorials and how-to guides on Obambu Guide. Learn, Build, Grow!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/obambu.com\/guide\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/obambu.com\/guide\/how-to-fix-500-internal-server-error\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/bmjaxaz6ads.jpg\",\"contentUrl\":\"https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/bmjaxaz6ads.jpg\",\"width\":1600,\"height\":1067,\"caption\":\"500 internal server error\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/obambu.com\/guide\/how-to-fix-500-internal-server-error\/#webpage\",\"url\":\"https:\/\/obambu.com\/guide\/how-to-fix-500-internal-server-error\/\",\"name\":\"How to fix 500 internal server error - Obambu Guide | Navigating the Web Hosting World\",\"isPartOf\":{\"@id\":\"https:\/\/obambu.com\/guide\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/obambu.com\/guide\/how-to-fix-500-internal-server-error\/#primaryimage\"},\"datePublished\":\"2021-07-27T15:18:11+00:00\",\"dateModified\":\"2022-07-29T10:27:36+00:00\",\"author\":{\"@id\":\"https:\/\/obambu.com\/guide\/#\/schema\/person\/7cfedd97f012c03c8c95528885e359e2\"},\"description\":\"The 500 internal server error pops up to indicate that the web server has encountered a problem and can\\u00b4t fulfil the request you gave it.\",\"breadcrumb\":{\"@id\":\"https:\/\/obambu.com\/guide\/how-to-fix-500-internal-server-error\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/obambu.com\/guide\/how-to-fix-500-internal-server-error\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/obambu.com\/guide\/how-to-fix-500-internal-server-error\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/obambu.com\/guide\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to fix 500 internal server error\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/obambu.com\/guide\/#\/schema\/person\/7cfedd97f012c03c8c95528885e359e2\",\"name\":\"Alejandro Prieto\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/obambu.com\/guide\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/20200731_145844.jpg\",\"contentUrl\":\"https:\/\/obambu.com\/guide\/wp-content\/uploads\/2021\/07\/20200731_145844.jpg\",\"caption\":\"Alejandro Prieto\"},\"url\":\"https:\/\/obambu.com\/guide\/author\/alejandro\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/posts\/3848","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/comments?post=3848"}],"version-history":[{"count":2,"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/posts\/3848\/revisions"}],"predecessor-version":[{"id":3941,"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/posts\/3848\/revisions\/3941"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/media\/3849"}],"wp:attachment":[{"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/media?parent=3848"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/categories?post=3848"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/obambu.com\/guide\/wp-json\/wp\/v2\/tags?post=3848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}