title: Why won't Apache 2.1.7 in WAMP log PHP errors to the PHP error log?
body: <p>I have WAMP installed and decided to use the default Apache 2.1.7 in the latest version of WAMP; the reason is my host server where my site is also uses 2.1.7. Previously, I was using Apache 2.2.11 in WAMP, because my last host also used that version.</p>
  
  <p>The problem I have now is I seem to have some debugger on or something as when I get a PHP error it's shown like in the image below and the error is not logged to the PHP error log even though it's enabled, etc. in <code>php.ini</code>. When I switch back to an earlier Apache version, all errors are logged in the PHP error log.</p>
  
  <p>So it must be Apache. Basically I want PHP to log errors to the PHP error log like it used to do. Why is this happening and how I can change it?</p>
  
  <p>I don't mind the way the error is displayed as it helps anyway, because I can see it much better, but I still like it to log to the PHP error log as well.</p>
  
  <p>Here's what a PHP error looks like since switching the Apache version in WAMP;</p>
  
  <p>Here's the image:</p>
  
  <p><img src="https://i.stack.imgur.com/D2s2t.jpg" alt="Enter image description here"></p>