title: how to install new php parallel (7.2+) on windows and maybe wampserver
body: <p>new php <a href="https://www.php.net/manual/en/book.parallel.php" rel="nofollow noreferrer">parallel</a>. it's new and there is no troubleshooting about it anywhere and the only documentation about it, is php.net itself which is not enough.</p>
  <p>this is what I did (per <a href="https://www.php.net/manual/en/parallel.setup.php" rel="nofollow noreferrer">instructions</a>):<br /></p>
  <ul>
  <li>installed latest version of WAMP(3.1.9 x64).</li>
  <li>installed latest version of PHP(7.3.9) on WAMP.</li>
  <li>added PHP to windows system environment path.</li>
  <li>added pthreadVC2.dll to PHP folder &amp; added pthreadVC2.dll to windows system environment path.</li>
  <li>added <code>php_parallel.dll</code> to php/ext directory.</li>
  <li>added <code>extension=parallel</code> to php.ini.</li>
  <li>restarted everything.</li>
  </ul>
  <pre><code>&lt;?php
  # this is my code
  $runtime = new \parallel\Runtime();
  
  $future = $runtime-&gt;run(function(){
      for ($i = 0; $i &lt; 50; $i++)
          echo &quot;$i&quot;;
          
      return &quot;easy&quot;;
  });
  
  for ($i = 0; $i &lt; 50; $i++) {
      echo &quot;.&quot;;
  }
  
  </code></pre>
  <p>hours spent. now windows cmd says: <br />&quot;Fatal error: Uncaught Error: Class 'parallel\Runtime' not found in ...[my file address]&quot; <br />and wampserver says &quot;The connection was reset (firefox error)&quot; only on the page I use parallel\Runtime and the other pages work fine.<br />
  and please with all do respect don't mark my question as broad one or any other things if you simply don't know the answer. at least show me some links.</p>