Nihir's avatar
Level 50

Laravel filament big file upload error in live

Good morning, Im using Laravel filament admin panel for my project but the thing is I can not able to upload the 50MB pdf file in the live project I already update the max_file_size, max_file_upload in my cpanel & check everything but i was not able to do it. The code is working fine on my local computer but not in Cpanel is there any suggestion for me to do that module that is working on live. I already check the PHP version & other things.

0 likes
2 replies
JabatoForever's avatar

HI @nihir could you check the logs and copy paste them here, without more info is hard to pinpoint the problem, but since u are using c-panel i guess is a shared hosting, and it could be related to permissions, try running this command to see if the user under which your app is running has the appropriate permissions to write to the storage folder.

ls -ld /var/www/[YOUR-APP-NAME]/storage
1 like

Please or to participate in this conversation.