title: Installing Zend Framework 2 in WAMP - localhost points to the same root as my Zend project
body: <p>I am trying to learn about the Zend Framework and this is frustrating cause I can't even get to install the darn thing. :) So please help.</p>
  
  <p>OP: Windows 7
  Server: WAMP</p>
  
  <p>I fould allot of documentation for Zend Framework 1 but not version 2 (which is the one I want).</p>
  
  <p>Let me tell you what I did and what's the problem.</p>
  
  <ol>
  <li><p>I have installed a working WAMP server, accessed from <code>http://localhost</code></p></li>
  <li><p>In the wamp's www, I have made a folder called "zendy" for the framework</p></li>
  <li><p>I went to windows, system 32, drivers, etc and edited my host file. Here I have:
  127.0.0.1       localhost
  127.0.0.1       zendy   # I have added this for my zend project</p></li>
  <li><p>Then I went to httpd.conf and added this at the end:</p>
  
  <p>
      ServerName zendy
      DocumentRoot "C:\wamp\www\zendy"
  </p></li>
  <li><p>I went to the Zend Framework 2 docs and downloaded the zend skeleton, pasted the contend inside my zendy folder. From the command line I typed:</p>
  
  <p>"php composer.phar self-update"
      "php composer.phar install"</p></li>
  </ol>
  
  <p>Just like the zend <a href="http://framework.zend.com/manual/2.0/en/user-guide/skeleton-application.html" rel="nofollow">framework 2 doc</a> says.</p>
  
  <p>The install worked ok and I saw this:</p>
  
  <pre><code>Installing dependencies from lock file
  - Installing zendframework/zendframework (dev-master)
    Cloning 18c8e223f070deb07c17543ed938b54542aa0ed8
  
  Generating autoload files
  </code></pre>
  
  <ol>
  <li>Now, if I type <code>http://zendy</code> everything works ok but if I type <code>http://localhost</code>, I get the same zendy directory and I have lost access to my other php projects (non zend) which were in the www folder.</li>
  </ol>
  
  <p><strong>So basically: <code>http://localhost</code> goes to the same place as <code>http://zendy</code> (I have lost access to my localhost).</strong></p>
  
  <p>Any ideas on what is wrong?</p>