title: Configuring IIS7 for PHP on multiple sites
body: <p>I have PHP5.2.8 installed on IIS7, and it works fine for my default site (at C:\Inetpub\wwwroot).</p>
  
  <p>Now, I need to run local copies of my company's sites on my machine, and each of those are directores in wwwroot.  I have set each up on a separate port so I can just go to <a href="http://localhost:[portnum]" rel="nofollow noreferrer">http://localhost:[portnum]</a> to get to each.</p>
  
  <p>If I try accessing a file, say: <a href="http://localhost:5002/test.php" rel="nofollow noreferrer">http://localhost:5002/test.php</a> - I get a </p>
  
  <blockquote>
    <p>"No input file specified.</p>
  </blockquote>
  
  <p>" error.  If I try it via <a href="http://localhost/Mysite.com/test.php" rel="nofollow noreferrer">http://localhost/Mysite.com/test.php</a> it works fine.  I am thinking it may have something to do with the doc_root setting in php.ini?  I have it set to C:\Inetpub\wwwroot.  I am running PHP as a FastCGI module.</p>
  
  <p>Does anyone know a comprehensive tutorial or setting up PHP on IIS for a configuration like this?  Or have any suggestions?</p>
  
  <p>I am also wondering if I might get different results with it installed in ISAPI mode. Thoughts?</p>