title: PHP processing speed apache 2.4 mpm-prefork mod_php 5.4 vs nginx 1.2.x PHP-FPM 5.4
body: <p>I've been looking for days to see if someone has done a good, documented, PHP processing speed comparison between </p>
  
  <ul>
  <li>apache-mpm-prefork 2.4 with mod_php 5.4</li>
  </ul>
  
  <p>and</p>
  
  <ul>
  <li>nginx 1.2.x + PHP-FPM 5.4</li>
  </ul>
  
  <p><strong>Why I'm looking:</strong> The only test I saw are abount benchmarks, serving full pages or Hello, World -like test, without proper documentation on what exactly was tested. I don't care about the request/seconds, the hardware, but I do need to see what PHP script was tested and with what exact configuration.</p>
  
  <p><strong>Why these two:</strong> mod_php was known to be the fastest on processing PHP ( no static files, no request/response measuring, just processing the PHP itself ) but a lot has changed since then, including apache version. Nginx and PHP-FPM eats a lot less memory, so it'd be a good reason to change architecture but if they're not fast enough in this case, the change would be irrelevant.</p>
  
  <p>I know if I'm unable to find one I have to do it myself but I can't believe no one has done a test like this so far :)</p>