CodeIgniter Forums
500 Internal Server Error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forum-9.html)
+--- Thread: 500 Internal Server Error (/thread-63795.html)

Pages: 1 2


RE: 500 Internal Server Error - Diederik - 01-12-2016

You can change PHP version from within your Godaddy hosting manager.

   


RE: 500 Internal Server Error - goneewindy - 02-27-2016

The 500 internal server error is showing up because there is something wrong with the .htaccess file.
If anyone know how to fix this, please let me know.
I checked the syntax but it's still not working.


RE: 500 Internal Server Error - scriptman - 06-24-2018

To make Code Igniter code work on Shared host, have this in your htaccess file:

Code:
<IfModule mod_rewrite.c>
  RewriteEngine On
  # !IMPORTANT! Set your RewriteBase here and don't forget trailing and leading
  #  slashes.
  # If your page resides at somewhere different from public_html. e.g
  #  http://www.example.com/mypage/test1
  # then use
  # RewriteBase /mypage/test1/ else just use forward slash.
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>