title: Internal Server Error while run laravel on localhost
body: <p>I am beginner on laravel. Now, I want to run laravel project on localhost. Now, what I have done? I have create <code>index.blade.php</code> file inside <code>resource/view/index.blade.php</code> and modify <code>web.php</code> file inside <code>routes/web.php</code></p>
  
  <p>routes/web.php</p>
  
  <pre><code>&lt;?php
  /*
  |--------------------------------------------------------------------------
  | Web Routes
  |--------------------------------------------------------------------------
  |
  | Here is where you can register web routes for your application. These
  | routes are loaded by the RouteServiceProvider within a group which
  | contains the "web" middleware group. Now create something great!
  |
  */
  Route::get('index', function () {
      return view('index');
  });
  </code></pre>
  
  <p>resources/view/index.blade.php</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;Demo&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;h1&gt;Laravel start&lt;/h1&gt;  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I have change <code>server.php</code> to <code>index.php</code> and move <code>.htaccess</code> file from <code>public</code> to root directory and restart <code>apache</code> server. but it show me <code>500 Internal Server Error</code>. I have run <code>localhost/laravel</code> but its not working. So, How can I fix this problem? Please help me.</p>
  
  <p>Error occuring</p>
  
  <pre><code>Internal Server Error
  The server encountered an internal error or misconfiguration and was unable to complete your request.
  
  Please contact the server administrator at webmaster@dummy-host2.example.com to inform them of the time this error occurred, and the actions you performed just before this error.
  
  More information about this error may be available in the server error log.
  
  Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
  
  Apache/2.4.29 (Win32) OpenSSL/1.0.2l PHP/5.6.32 Server at localhost Port 80
  </code></pre>
  
  <p>Thank You</p>