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

Fix maximum upload file size in PHP containers #22

Open
lvps opened this issue Oct 16, 2024 · 0 comments
Open

Fix maximum upload file size in PHP containers #22

lvps opened this issue Oct 16, 2024 · 0 comments
Labels

Comments

@lvps
Copy link
Member

lvps commented Oct 16, 2024

PHP containers should be set to allow a maximum File and POST sizes of 512M to allow uploading large files to the server.

To fix this add the following line to any configuration file read by PHP:

upload_max_filesize=512M
post_max_size=512M

Mind of the path where these files are stored! For example the WordPress container for whatever reason moved the PHP configuration to /usr/local/etc/php 🙄
PS: To find the path of the configuration files run php -i in the container

Check if any container is still missing this change

@lvps lvps added enhancement New feature or request software configuration labels Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant