title: Zend Failed opening required 'Zend/Loader.php' on Plesk Server
body: <p>I am getting the following warning and error on a plesk server where I am trying to get the Zend framework working:</p>
  
  <pre><code>PHP Warning: require_once(Zend/Loader.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/mydomain.com/httpdocs/test.php on line 5 
  PHP Fatal error: require_once() [function.require-once]: Failed opening required 'Zend/Loader.php' (include_path='.:/usr/share/pear:/local/PEAR/:/usr/share/zend') in /var/www/vhosts/mydomain.com/httpdocs/test.php on line 5
  </code></pre>
  
  <p>I have set the <code>include_path</code> in the php.ini file (/etc/php.ini) to use the directory where I have added the Zend files (/usr/share/zend). This directory then has the framework in a sub-dir called Zend. </p>
  
  <p>I have tried adding a slash to the end of the <code>include_path</code> (/usr/share/zend/).</p>
  
  <p>The path is present when I use <code>get_include_path()</code></p>
  
  <p>I have tried using <code>set_include_path</code>.</p>
  
  <p>The /usr/share/zend directory has 775 permissions (also tried with 777) and the user and group are both set to root.</p>
  
  <p>I would like to have the framework available to all sites on the server.</p>
  
  <p>I have copied in the Gdata files too and the Zend/Loader.php is there.</p>
  
  <p>Versions:</p>
  
  <ul>
  <li>Framework: 2.0.4</li>
  <li>Gdata: 1.12.0</li>
  </ul>
  
  <p>This is the PHP:</p>
  
  <pre><code>require_once("Zend/Loader.php");
  </code></pre>
  
  <p>I have also tried using:</p>
  
  <pre><code>require_once("/usr/share/zend/Zend/Loader.php");
  </code></pre>
  
  <p>I am novice plesk/unix user</p>