scvroin Posted May 29, 2010 Share Posted May 29, 2010 Hello, I wanted to create a symlink using php, but I have this error: No such file or directory in /home/scvroinh/public_html/jobeet/createsymlinks.php <?php $target1 = '/home/scvroinh/public_html/scvroin/jobeet/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/web/'; $link1 = 'sfDoctrinePlugin'; $target1 = '/home/scvroinh/public_html/scvroin/jobeet/plugins/sfFormExtraPlugin/web/'; $link1 = 'sfFormExtraPlugin'; symlink($target1, $link1); symlink($target2,$link2); ?> I try to see if I could put in great shared host like heliohost, the symfony example: jobeet Jobeet on heliohost and it works except the assets in the admin part: Jobeet Admin at heliohost user and pass: fabien Thank you Quote Link to comment Share on other sites More sharing options...
Byron Posted May 29, 2010 Share Posted May 29, 2010 I've never used symlink() but just looking at your code, shouldn't you be defining a variable that says: $target2 and $link2 also make sure your paths are correct. Quote Link to comment Share on other sites More sharing options...
scvroin Posted May 29, 2010 Author Share Posted May 29, 2010 I've never used symlink() but just looking at your code, shouldn't you be defining a variable that says: $target2 and $link2 also make sure your paths are correct. Thank you very much, now is working as expected. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.