i try like this but nothing changed http://stackoverflow.com/questions/28529518/small-file-get-uploaded-but-not-large-file-in-laravel
Mar 23, 2015
7
Level 13
Image uploading problem
I try to upload image in .JPG file which have more than 4mb file in s3 bucket ,my problem is that when i try to upload image from my local host its working but when i try to upload on my server file not upload in my bucket and in my server mysql database also not storing ,one thin also when i try to upload image like image.jpg its working , here what is the problem i dont know
Level 65
I use these commands to quickly update PHP settings for upload size
sudo sed -i "s/\post_max_size = .*/post_max_size = 125M/" /etc/php5/fpm/php.ini
sudo sed -i "s/\upload_max_filesize = .*/upload_max_filesize = 100M/" /etc/php5/fpm/php.ini
// optional
sudo sed -i "s/\memory_limit = .*/memory_limit = 256M/" /etc/php5/fpm/php.ini
Please or to participate in this conversation.