title: Apache2.4, php 7 - info.php displays, but inline <?php ?> does not
body: <p>I have been trying to setup an environment to develop php and html on my windows 10 machine.
  I've spent all evening and finally I believe I have Apache 2.4 and php 7 installed correctly as I can correctly execute info.php () through the localhost:667/info.php.</p>
  
  <p>However, any php inside my html docs located in localhost:667 (apache24/htdocs) does not work.</p>
  
  <p>Here are the lines I added to apache/httpd.conf: </p>
  
  <pre><code>LoadModule php7_module "c:/php/php7apache2_4.dll"
  AddType application/x-httpd-php .php
  AddHandler application/x-httpd-php .php
  DirectoryIndex index.html index.php
  #configure the path to php.ini
  PHPIniDir "C:/php"
  </code></pre>
  
  <p>...as well as redefining the listening port as default 80 was conflicting with something.</p>
  
  <p>I renamed php/php.ini-development to php.ini as instructed by an installation manual, and have uncommented the line:</p>
  
  <pre><code>extension_dir = "ext"
  </code></pre>
  
  <p>as per installation instructions.</p>
  
  <p>Why is the php in my html files still not executing and being shown raw in the source output?
  Thanks in advance and let me know if you need more information.</p>