title: Memcached on Windows Failed to ignore SIGHUP: No error failed to daemon() in order to daemonize
body: <p>I'm trying to install memcached from: <a href="http://blog.elijaa.org/index.php?post/2010/10/15/Memcached-for-Windows&amp;similar" rel="noreferrer">http://blog.elijaa.org/index.php?post/2010/10/15/Memcached-for-Windows&amp;similar</a></p>
  
  <p>When I try to run it with the <code>-d</code> command line option I get the following error:</p>
  
  <pre><code>Failed to ignore SIGHUP: No error
  failed to daemon() in order to daemonize
  </code></pre>
  
  <p>When I run it without <code>-d</code> it appears to run normally, but I need <code>-d</code> to install it as a service...</p>
  
  <p>I've tried the following tutorials but they don't explain how to solve this.</p>
  
  <ul>
  <li><p><a href="http://shiki.me/blog/installing-memcached-for-php-5-3-on-windows-7/" rel="noreferrer">http://shiki.me/blog/installing-memcached-for-php-5-3-on-windows-7/</a></p></li>
  <li><p><a href="http://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/" rel="noreferrer">http://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/</a></p></li>
  <li><p><a href="http://zurmo.org/wiki/installing-memcache-on-windows" rel="noreferrer">http://zurmo.org/wiki/installing-memcache-on-windows</a></p></li>
  <li><p><a href="https://stackoverflow.com/questions/14777857/how-to-install-and-use-memcached-in-windows-for-php">How to install and use memcached in Windows for PHP?</a></p></li>
  </ul>
  
  <p>I've tried both the 32 and 64 bit versions but it didn't make a difference.
  I also tried the version from: <a href="http://code.jellycan.com/files/memcached-1.2.6-win32-bin.zip" rel="noreferrer">http://code.jellycan.com/files/memcached-1.2.6-win32-bin.zip</a></p>
  
  <p>Which does not give this error but still doesn't create the service.</p>
  
  <p>Anyone know how to get this working?</p>