{"id":597,"date":"2020-12-22T07:25:26","date_gmt":"2020-12-22T07:25:26","guid":{"rendered":"https:\/\/www.velaninfo.com\/rs\/?post_type=techtips&#038;p=597"},"modified":"2020-12-22T13:24:22","modified_gmt":"2020-12-22T13:24:22","slug":"how-we-fix-codeigniter-http-error-500","status":"publish","type":"techtips","link":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-we-fix-codeigniter-http-error-500\/","title":{"rendered":"How we fix CodeIgniter HTTP error 500?"},"content":{"rendered":"<p>There are a lot of reasons as to why CodeIgniterHTTP error 500 occurs including PHP fatal isssues, error in the script like PHP misconfigurations, missing packages etc. If the CodeIgniter is of an old version, we would see similar error with the updated PHP versions. Hence, setup the PHP to a lower version.<\/p>\n<p>The first step is to check the Apache error logs from the location \/usr\/local\/apache\/logs\/error_log and found that mod_rewrite issue<\/p>\n<p>The next step is to run the following command<\/p>\n<p><strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # httpd \u2013V<\/strong><\/p>\n<p>Running the above command identified the issue in the Apache configuration file in the location\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <strong>\/etc\/httpd\/conf\/httpd.conf<\/strong><\/p>\n<p>Removing the line from the configuration file LoadModulerewrite_module modules\/mod_rewrite.so fixed the issue.<\/p>\n<p>If the issue continues we can add the below code into the .htaccess file<\/p>\n<p><strong>&lt;IfModulemod_rewrite.c&gt;<\/strong><\/p>\n<p><strong>RewriteEngine On<\/strong><\/p>\n<p><strong>RewriteCond %{REQUEST_FILENAME} !-f<\/strong><\/p>\n<p><strong>RewriteCond %{REQUEST_FILENAME} !-d<\/strong><\/p>\n<p><strong>RewriteRule^(.*)$ index.php?\/$1 [L]<\/strong><\/p>\n<p><strong>&lt;\/IfModule&gt;<\/strong><\/p>\n<p>At <strong>Velan<\/strong>, our server support engineers can help you fixing CodeIgniter HTTP error 500 on your server. We troubleshoot problems like these for our clients every day.\u00a0If you are interested in our service, please fill the <a href=\"https:\/\/velaninfo.com\/contact\"><strong>Quick connect<\/strong><\/a> form to get in touch with us<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are a lot of reasons as to why CodeIgniterHTTP error 500 occurs including PHP fatal isssues, error in the script like PHP misconfigurations, missing packages etc. If the CodeIgniter is of an old version, we would see similar error with the updated PHP versions. Hence, setup the PHP to a lower version. The first&#8230;<a class=\"continue-reading text-uppercase\" href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/how-we-fix-codeigniter-http-error-500\/\"> Continue Reading <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/themes\/velaninfo\/images\/reading_arw.png\" alt=\"Continue Reading\" width=\"16\" height=\"12\"\/><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"tags":[],"class_list":["post-597","techtips","type-techtips","status-publish","hentry","Categories_tech_tip-linux","Categories_tech_tip-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.5 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How we fix CodeIgniter HTTP error 500 | Velan<\/title>\n<meta name=\"description\" content=\"How we fix CodeIgniter HTTP error 500 | Velan offers Remote Server Support Services\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/how-we-fix-codeigniter-http-error-500\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How we fix CodeIgniter HTTP error 500?\" \/>\n<meta property=\"og:description\" content=\"How we fix CodeIgniter HTTP error 500 | Velan offers Remote Server Support Services\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.velaninfo.com\/rs\/techtips\/how-we-fix-codeigniter-http-error-500\/\" \/>\n<meta property=\"og:site_name\" content=\"Velan\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-22T13:24:22+00:00\" \/>\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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-we-fix-codeigniter-http-error-500\\\/\",\"url\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-we-fix-codeigniter-http-error-500\\\/\",\"name\":\"How we fix CodeIgniter HTTP error 500 | Velan\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/#website\"},\"datePublished\":\"2020-12-22T07:25:26+00:00\",\"dateModified\":\"2020-12-22T13:24:22+00:00\",\"description\":\"How we fix CodeIgniter HTTP error 500 | Velan offers Remote Server Support Services\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-we-fix-codeigniter-http-error-500\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-we-fix-codeigniter-http-error-500\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-we-fix-codeigniter-http-error-500\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech Tips\",\"item\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How we fix CodeIgniter HTTP error 500?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/#website\",\"url\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/\",\"name\":\"Velan\",\"description\":\"Velaninfo Services India Pvt Ltd\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How we fix CodeIgniter HTTP error 500 | Velan","description":"How we fix CodeIgniter HTTP error 500 | Velan offers Remote Server Support Services","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-we-fix-codeigniter-http-error-500\/","og_locale":"en_US","og_type":"article","og_title":"How we fix CodeIgniter HTTP error 500?","og_description":"How we fix CodeIgniter HTTP error 500 | Velan offers Remote Server Support Services","og_url":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-we-fix-codeigniter-http-error-500\/","og_site_name":"Velan","article_modified_time":"2020-12-22T13:24:22+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-we-fix-codeigniter-http-error-500\/","url":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-we-fix-codeigniter-http-error-500\/","name":"How we fix CodeIgniter HTTP error 500 | Velan","isPartOf":{"@id":"https:\/\/www.velaninfo.com\/rs\/#website"},"datePublished":"2020-12-22T07:25:26+00:00","dateModified":"2020-12-22T13:24:22+00:00","description":"How we fix CodeIgniter HTTP error 500 | Velan offers Remote Server Support Services","breadcrumb":{"@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-we-fix-codeigniter-http-error-500\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.velaninfo.com\/rs\/techtips\/how-we-fix-codeigniter-http-error-500\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-we-fix-codeigniter-http-error-500\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.velaninfo.com\/rs\/"},{"@type":"ListItem","position":2,"name":"Tech Tips","item":"https:\/\/www.velaninfo.com\/rs\/techtips\/"},{"@type":"ListItem","position":3,"name":"How we fix CodeIgniter HTTP error 500?"}]},{"@type":"WebSite","@id":"https:\/\/www.velaninfo.com\/rs\/#website","url":"https:\/\/www.velaninfo.com\/rs\/","name":"Velan","description":"Velaninfo Services India Pvt Ltd","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.velaninfo.com\/rs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/597","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips"}],"about":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/types\/techtips"}],"author":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/comments?post=597"}],"version-history":[{"count":3,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/597\/revisions"}],"predecessor-version":[{"id":603,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/597\/revisions\/603"}],"wp:attachment":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/media?parent=597"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/tags?post=597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}