title: PHP Startup:Unable to start dynamic library
body: <p>I was trying to add PHP pthreads , following steps are completed </p>
  
  <p>Extract the zip -</p>
  
  <ul>
  <li>Move <code>php_pthreads.dll</code> to the <code>bin\php\ext\</code> directory.</li>
  <li>Move <code>pthreadVC2.dll</code> to the <code>bin\php\</code> directory.</li>
  <li>Move <code>pthreadVC2.dll</code> to the <code>bin\apache\bin</code> directory.</li>
  <li>Move <code>pthreadVC2.dll</code> to the <code>C:\windows\system32</code> directory.</li>
  <li>Open <code>php\php.ini</code> and add <code>extension=php_pthreads.dll</code></li>
  </ul>
  
  <p>After those steps, restating causes an error </p>
  
  <blockquote>
    <p>PHP Startup:unable to load dynamic library 'c:\xamp\php\ext\php_pthreads.dll' -%1 is not a valid  Win32 application</p>
  </blockquote>