title: Can't run Zend Framework 2 on a server - Class 'Zend\Mvc\Application' not found
body: <p>I can't run ZF2 on server. Every time I got this error: </p>
  
  <blockquote>
    <p>Class <code>'Zend\Mvc\Application'</code> not found in /home/.../public/index.php on line 12.</p>
  </blockquote>
  
  <p>In apache logs: </p>
  
  <blockquote>
    <p>mod_fcgid: stderr: PHP Fatal error: Class <code>'Zend\\Mvc\\Application'</code> not found in /home/.../index.php on line 12.</p>
  </blockquote>
  
  <p>I've tried to change permissions of <code>ZF2_PATH</code> with no results. Path is correct. Maybe that's something with <code>mod_fcgid</code>?</p>
  
  <p>Anyone have any ideas?</p>