title: Laravel 4 and Symlinks
body: <p>So I'm new to Laravel 4, and I'm trying to figure out how to Symlink two parts of my site. </p>
  
  <p>The first is <strong>apps/storage</strong>
  The second is <strong>public/cache</strong> (this is where an image cache is stored)</p>
  
  <p>I'd like to move both of these to a SSD on my server, however Laravel keeps throwing out an error whenever I try and setup these Symlinks.</p>
  
  <p>That error is: </p>
  
  <pre><code>ErrorException
  file_put_contents(/meta/services.json): failed to open stream: No such file or directory
  </code></pre>
  
  <p>Clearly it's unable to find the filesystem and the symlink isn't working with Laravel. But the symlink DOES work with individual files (such as a jpeg), so I'm positive there is no problem with the initial setup. </p>
  
  <p>To clarify, the document root is set to <strong>httpdocs/public</strong> (via Plesk settings)</p>
  
  <p>The apps (and framework) are located in the  <strong>httpdocs</strong> folder which is no longer serving as the vhost root.</p>
  
  <p>As I hinted at, it's a Plesk server. The owner belongs to the vhost, and the group belongs to psacln. But I don't think there are any permission/ownership problems, as I've verified the symlinks are working.</p>