Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

SettingupasymlinkforLaravelprojectsonsharedhosting

I am trying to create a symlink between the STORAGE and the public images folder in laravel website hosted on a shared hosting, when i try to create symlink using PHP i get the error

Warning: symlink(): No such file or directory in /home/caprians/public_html/symlink.php on line 2

Line 2: symlink('/home/myhosting/website/storage/app/public','/home/myhosting/public_html/storage')

There is nothing else than this code in the file.

Comments