title: PHP 7, Apache 2.4, and Windows 10 aren't launching html files from htdocs
body: <p>When I launch a .php file from Apache 24/htdocs, it works properly by using http:/localhost/example.php.</p>
  <pre><code>&lt;?php $roll = rand(1,6);
  echo &quot;&lt;p&gt;This should show a diceroll:&lt;/p&gt;&quot;;
  echo 'Your roll is ' . $roll;  
  ?&gt;
  </code></pre>
  <p>When I try to launch an .html file with php code in it the same way (http:/localhost/example.html), it &quot;downloads&quot; a copy of the file to my C:/Users/Rich/Downloads folder and runs it there, so the php scripts don't get executed, and and paths to other files in the html file can't be found.</p>
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Roll the Dice&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;p&gt;This should show a diceroll.&lt;/p&gt;
      &lt;p&gt;&lt;? php  
          $roll=rand(1,6);
          echo 'You rolled a '.$roll;        
          ?&gt;
      &lt;/p&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>I just recently had to upgrade from Apache 2.2 and PHP 5, because suddenly none of my previously functioning html files with php worked. I'd get 404 errors when trying to run them. I assume something happened in a Windows 10 update to scramble my previous setup. So I updated Apache and PHP, tweaked everything until the .php files worked like they should, but I haven't figured out what's causing this weird behavior with the html files. Has anyone else experienced this?</p>