title: The requested PHP extension dom is missing from your system
body: <p>So I just installed Scotchbox (a vagrant setup).
  <a href="https://github.com/scotch-io/scotch-box" rel="noreferrer">https://github.com/scotch-io/scotch-box</a></p>
  
  <p>I'm trying to install a composer dependancy when I get the following error.</p>
  
  <pre><code>Problem 1
  - phpunit/php-code-coverage 4.0.8 requires ext-dom * -&gt; the requested PHP extension dom is missing from your system.
  - phpunit/php-code-coverage 4.0.8 requires ext-dom * -&gt; the requested PHP extension dom is missing from your system.
  - phpunit/php-code-coverage 4.0.8 requires ext-dom * -&gt; the requested PHP extension dom is missing from your system.
  - Installation request for phpunit/php-code-coverage (locked at 4.0.8) -&gt; satisfiable by phpunit/php-code-coverage[4.0.8].
  </code></pre>
  
  <h2>What I've tried</h2>
  
  <p>Some other thread suggested that this is included in the php-xml package. I tried installing this doing</p>
  
  <pre><code>sudo apt-get install php7.0-xml
  sudo service apache2 restart
  </code></pre>
  
  <p>But that didn't work. 
  Any idea what other solutions might work? I'm starting to pull my hair out.</p>