title: PHPWord - Can't read docx file
body: <p>I'm trying to read a docx file using PHPWord, but i'm getting the following error. I can't seem to find a solution to this anywhere:</p>
  
  <blockquote>
    <p><em>PHP Fatal error:  Uncaught exception 'PhpOffice\PhpWord\Exception\Exception' with message '"Word2007" is
    not a valid Reader.'</em></p>
  </blockquote>
  
  <p>This is the PHP code to load the file:</p>
  
  <pre><code>$phpWord = \PhpOffice\PhpWord\IOFactory::load($filepath1); 
  $xmlWriter = PhpOffice\PhpWord\IOFactory::createWriter($phpWord , 'PDF');
  </code></pre>
  
  <p>Any help would be greatly appreciated! </p>