DEV Community

Discussion on: Deploying Laravel8 app on shared-hosting (Hostinger)🌎

Collapse
 
nikhilmuddamsetty profile image
Nikhil Muddamsetty

hello
i have a hostinger's shared hosting
can u please provide the steps how to create symbolic link?

Collapse
 
pushpak1300 profile image
Pushpak Chhajed

Login to SSH and run this command.
ln -s souce-directory targetdirectory

Collapse
 
cangak profile image
cangak

create file in public_html
<?php symlink('/home/user/laravel/storage/app/public','/home/user/public_html/storage');
and excute it in browser

Collapse
 
mahmoodhussain profile image
Mahmood Hussain Bhat

This helped me to solve the issues of displaying assets (images) but problem still persists for uploading the images.

Some comments have been hidden by the post's author - find out more