title: php Fatal error: Class 'Slim' not found in
body: <p>Why this is generating fatal error <strong>Slim not found</strong>.</p>
  
  <p><strong>index.php</strong></p>
  
  <pre><code>&lt;?php
  require "Slim/Slim.php";
  
  // create new Slim instance
  $app = new Slim();
  
  // add new Route 
  $app-&gt;get("/", function () {
      echo "&lt;h1&gt;Hello Slim World&lt;/h1&gt;";
  });
  
  // run the Slim app
  $app-&gt;run();
  </code></pre>
  
  <p>Requested URL </p>
  
  <pre><code>GET : http://localhost/mywebapps/index.php 
  GET:  http://localhost/mywebapps/
  </code></pre>
  
  <p>My Directory structure on windows</p>
  
  <pre><code>www/mywebapps/
               Slim- slim frameworks folder(Having Slim.php and other files also)
               index.php - php file
  </code></pre>
  
  <p>what is i am doing wrong please help me guy's.</p>