Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP POST and UPLOAD max size setup #595

Closed

Conversation

leopoletto
Copy link

@leopoletto leopoletto commented Jul 10, 2023

This PR allows users to set up PHP post_max_size and upload_max_filesize using the docker-composer.json file.

The php.ini files in each runtime folder wouldn't be necessary anymore. Instead, the DockerFile has two new arguments (PHP_POST_MAX_SIZE and PHP_UPLOAD_MAX_FILESIZE) that allow setting up the desired values. By default, the php.ini content stays the same, of course.

To override the default value:

image

@leopoletto leopoletto changed the title Php post and upload max size setup PHP POST and UPLOAD max size setup Jul 10, 2023
@taylorotwell
Copy link
Member

Hey there - you can fork or publish and add this to your own setup if you want. 👍

@leopoletto
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants