samedi 1 décembre 2018

Setting up a symlink for Laravel projects on shared hosting

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.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire