title: How can I setup an Laravel project on IIS 7.5?
body: <p>I have a php application that I write using Laravel framework. I developed it using XAMPP server which was running fine.</p>
  
  <p>I want to move it to a production server where I can use IIS 7.5 to manage my applications.</p>
  
  <p>Here is what I have done</p>
  
  <ol>
  <li>I installed IIS</li>
  <li>I installed <a href="https://phpmanager.codeplex.com/downloads/get/253209" rel="nofollow">PHP Manager</a></li>
  </ol>
  
  <p>Created a folder called <code>laravel</code> in <code>C:\inetpub\wwwroot</code>
   2. Using PHP Manager I changed the PHP version to 5.6.18
   3. In my php.ini of the version 5.6.18 I enabled the following lines</p>
  
  <blockquote>
  <pre><code>extension_dir = "ext"
  cgi.force_redirect = 0
  cgi.fix_pathinfo = 1
  fastcgi.impersonate = 1
  fastcgi.logging = 0
  extension=php_mbstring.dll
  extension=php_exif.dll      ; Must be after mbstring as it depends on it
  extension=php_mysql.dll
  extension=php_mysqli.dll
  extension=php_openssl.dll
  extension=php_pdo_mysql.dll
  date.timezone = "ENTER YOUR TIMEZONE HERE"
  session.entropy_length = 32
  </code></pre>
  </blockquote>
  
  <ol start="4">
  <li>I installed composer with php 5.6.18</li>
  <li>I imported the <code>.httaccess</code> file located in the public folder using URL Rewrite Model in IIS. This step created a <code>web.config</code> file. Then I moved it to the public folder.</li>
  <li>I converted my <code>Laravel</code> to Application in IIS</li>
  <li>I added phpinfo.php file in the root of my laravel all and I was able to see it via the browser. </li>
  </ol>
  
  <p>But I can't access my laravel app.</p>
  
  <p>When I go to <a href="http://localhost/laravel/public/index.php" rel="nofollow">http://localhost/laravel/public/index.php</a> I get an error</p>
  
  <pre><code>HTTP 500 Internal error
  </code></pre>
  
  <p>I followed the blogs below to get where I am at now</p>
  
  <p><a href="http://alvarotrigo.com/blog/installing-laravel-4-in-windows-7-with-iis7/" rel="nofollow">http://alvarotrigo.com/blog/installing-laravel-4-in-windows-7-with-iis7/</a></p>
  
  <p><a href="https://laracasts.com/discuss/channels/general-discussion/iis7-laravel-5?page=2" rel="nofollow">https://laracasts.com/discuss/channels/general-discussion/iis7-laravel-5?page=2</a></p>
  
  <p>How can I get laravel app to run?</p>