Giter Site home page Giter Site logo

nginx max size about 444noresponse HOT 2 CLOSED

DjordjeVucinac82 avatar DjordjeVucinac82 commented on September 24, 2024
nginx max size

from 444noresponse.

Comments (2)

DjordjeVucinac82 avatar DjordjeVucinac82 commented on September 24, 2024

https://stackoverflow.com/questions/24306335/413-request-entity-too-large-file-upload-issue

from 444noresponse.

DjordjeVucinac82 avatar DjordjeVucinac82 commented on September 24, 2024

Official php:7 images get their settings from /usr/local/etc/php folder.

First log into the running container

$ docker exec -it «container_name» /bin/bash

List folder content

$ ls /usr/local/etc/php

Which outputs following line

conf.d php.ini-development php.ini-production
If needed, modifying settings via conf.d folder seems better alternative, since xdebug uses it. For example, you can change upload size by adding uploads.ini to conf.d folder with the following content:

file_uploads = On
memory_limit = 64M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 600


from 444noresponse.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.