title: How to make a .php act like index.php when there's no index.php?
body: <p>Theoretically: You have a cms and an install.php to that. You want to run the install.php first, and at the end of the steps that would generate and save an index.php before it's deleting itself.  </p>
  
  <p>The steps of the install.php:</p>
  
  <ol>
  <li>lincense agreement</li>
  <li>php,mysql version check</li>
  <li>saving mysql.php</li>
  <li>saving index.php, deleting install.php, header location:index.php</li>
  </ol>
  
  <p>My question is: How to run install.php automatically when you go to your web page? (Like wordpress' famous 5-minute installation.)</p>
  
  <p>I know that i shouldn't use an installer like this, but it's my homework.</p>