title: AddHandler not working for .php files - Apache 2.4
body: <p>I am creating a dummy handler for .php and .html files called <code>helloworld</code>. The handler contains this:</p>
  
  <pre><code>static int helloworld_handler(request_rec *r){
      ap_rprintf(r, "hello world!");
      return OK;
  }
  </code></pre>
  
  <p>I have got this in apache2.conf:</p>
  
  <pre><code>&lt;Directory /var/www/html&gt;
  AddHandler helloworld .php .html
  &lt;/Directory&gt;
  </code></pre>
  
  <p>The handler "helloworld" is working for .html files, but it is not working for .php files. I think it is mostly because the default php handler overrides the helloworld handler for .php files. How do I make "helloworld" handler work for .php files? </p>
  
  <p>If there is any extra information required please ask. </p>