title: require_once(Zend/Application.php): failed to open stream- working on other computers
body: <p>I just installed Zend Framework, when I try to open a website that was created with that framework I get the error below. <br>
   <br> I know the problem is that the library is not included as I checked some other questions before... Here is what I did to try to resolve it but it's still not working. An important thing to note is that the files are working on an other computer. So it's not coming from the code.</p>
  
  <blockquote>
    <p>Warning: require_once(Zend/Application.php): failed to open stream: No such file or directory in C:\data\trunk\www\public\index.php on line 68</p>
    
    <p>Fatal error: require_once(): Failed opening required 'Zend/Application.php' (include_path='C:\data\trunk\library;;C:\data\trunk\www\application;C:\xampp\php\PEAR') in C:\data\trunk\www\public\index.php on line 68</p>
  </blockquote>
  
  <p>I did a symlink between:</p>
  
  <pre><code>C:\data\trunk\library\ZendFramework-1.11.9\library and 
  C:\data\site.local
  </code></pre>
  
  <p>I also did a symlink for: </p>
  
  <pre><code>C:\data\trunk\library\ZendFramework-1.11.9\extras\library and 
  C:\data\site.local
  </code></pre>
  
  <p>In my index.php (C:\data\trunk\www\public):</p>
  
  <pre><code>set_include_path(implode(PATH_SEPARATOR, array(
  realpath(dirname(__FILE__) . '/../../library'),
  realpath(dirname(__FILE__) . '/../../common'),
  realpath(APPLICATION_PATH),
  get_include_path(),
  )));
  
   require_once 'Zend/Application.php';
  
   $application = new Zend_Application(
   APPLICATION_ENV,
   APPLICATION_PATH . '/configs/application.ini'
    );
  </code></pre>
  
  <hr>
  
  <p>EDIT:</p>
  
  <p>So I found a file that confirmed that I should be using Zend-1.12.3. I also found a txtfile saying " to point library files to the site.local directory. This is where the zend library is located".<br></p>
  
  <p>I found a file in site.local <br>
  Name: Zend<br>
  Content: link /Sites/_library/Zend-1.12.3<br>  </p>
  
  <p>I found 2 files in trunk/library : <br>
  Name: Zend<br>
  Content: link ../../site.local/Zend<br> </p>
  
  <p>Name: ZendX<br> 
  Content: link ../../site.local/ZendX<br></p>
  
  <p>This is my new architecture if I follow what is written: </p>
  
  <ul>
  <li><p>C:\xampp3\htdocs\mywebsite</p>
  
  <ul>
  <li>trunk
  
  <ul>
  <li>library <br>
  
  <ul>
  <li>Zend-1.12.3
  
  <ul>
  <li>application</li>
  </ul></li>
  <li>ZendX-1.12.3
  
  <ul>
  <li>application</li>
  </ul></li>
  </ul></li>
  </ul></li>
  <li><p>site.local</p>
  
  <ul>
  <li><p>Zend-1.12.3</p>
  
  <ul>
  <li>application</li>
  </ul></li>
  <li><p>ZendX-1.12.3</p>
  
  <ul>
  <li>application</li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul>