![]() ![]() If you do not have these please contact your hosting provider. The max execution time and max input time are in seconds. To gain access to these files you will need FTP credentials. Replace the numbers as per your requirement. Maximum HTTP POST size 200M Maximum file upload size 100M Maximum execution time 30000. This will define the max upload size in Megabytes. ![]() Then, I re-built my nginx and php-fpm containers to make sure there wasn't a weird caching issue that was causing the problem by running:Īfterwards, I was able to upload my 70MB file. Increase 'postmaxsize' and 'uploadmaxfilesize' only for a specific PHP file, and not for the whole server. phpvalue uploadmaxfilesize 64M phpvalue postmaxsize 128M phpvalue memorylimit 256M phpvalue maxexecutiontime 300 phpvalue maxinputtime 300. There are many servers that have set post-max-size to higher values, even if the application needs less upload space. The post-max-size is used to set the maximum size for a single upload to the server. After doing this (and updating my laravel.ini settings from the post above), I stopped all running containers from the laradock directory by running docker stop $(docker ps -a -q) then deleted my nginx and php-fpm containers by running docker rm php-fpm and docker rm nginx. The uploadmaxfilesize parameter specifies the maximum size of a single file that can be uploaded. The postmaxsize is a setting that can be viewed through the phpinfo () method. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |