When stored the uploaded file, How you did that? Share your controller. I hope you did something like this.
'''
$request->customer_photo->move(public_path('customer-photos'), $photoName);
'''
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I host my laravel project in a shared hosting server following the common process of creating the folder out of the public_html directory. Everything is good and working nice. Problem is that when any user upload a file like image, it does not save in the public folder insie public_htm, rather it is stored in the outsidr project folder creating a new public directory. I tried storing the total project in the public_html folder too, but the file storing and retriving problem is not changed. The blade serches file in the public folder that is stored in public_html. Any senor please suggest me what to do?
Please or to participate in this conversation.