title: Class 'mPDF' not found in Yii2
body: <p>I have problem with my page on server.
  I'm using yii2 framework and mPDF;
  All configured according to the instructions: <a href="http://www.bsourcecode.com/yiiframework2/create-pdf-files-using-mpdf-in-yiiframework-2-0/" rel="nofollow noreferrer">http://www.bsourcecode.com/yiiframework2/create-pdf-files-using-mpdf-in-yiiframework-2-0/</a></p>
  
  <p>Page work on localhost on Windows and Xampp
  When I try run page on Debian 8 I have error:</p>
  
  <pre><code>Class 'mPDF' not found
  </code></pre>
  
  <p>Configuration: <a href="http://www.bsourcecode.com/yiiframework2/create-pdf-files-using-mpdf-in-yiiframework-2-0/" rel="nofollow noreferrer">http://www.bsourcecode.com/yiiframework2/create-pdf-files-using-mpdf-in-yiiframework-2-0/</a></p>
  
  <p>function in php:</p>
  
  <pre><code>public function actionCreatepdf()
      {
          $request = Yii::$app-&gt;request;
          $generate_table = $request-&gt;post();
  
          $mpdf = new mPDF;
          $mpdf-&gt;WriteHTML($this-&gt;renderPartial('view_pdf', ['data'=&gt;$data]));
          $mpdf-&gt;Output('data.pdf', 'D');
          exit;
      }
  </code></pre>
  
  <p>I have no idea what I'm doing wrong, it's not running on Debian</p>