Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

un-explainable problem with file uploads

Everything was fine with my file upload script until I decided to upload larger files and by larger files am talking about just 2mb talk more of a 30mb file. I have been to my php.ini to change the following:

post_max_size = 100M
upload_max_filesize = 120M

The memory limit was left @ d default 128M after all this settings it still did not work, it shows this error message

"file could not be written to disk"

Some friends suggested that it had something to do with d permissions but I doubt that because the same script works for smaller files 600kb and below. I can't really explain what is going on. Any help would be appreciated.

like image 636
ebuoe Avatar asked Nov 05 '22 23:11

ebuoe


1 Answers

If linux, check your quota for the user. Maybe your disk is full.

like image 167
Epharion Avatar answered Nov 10 '22 06:11

Epharion