-
-
Notifications
You must be signed in to change notification settings - Fork 608
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 configuration #16
Comments
Just hijacking this issue as a general feature request for proper PHP config management via a template and variables. |
Mostly taken care of by #44 |
Just realized I didn't actually address file size. Shall I submit another pull? What would be a good default upload size be? |
Actually, I could just implement what @jasonmarlin initially recommended. |
Those defaults are probably fine. We should probably all those variables as they're fairly common. |
This project is amazing and so nice to use. However, one issue I ran into was with the default PHP upload/POST limit being too small to upload media files of any substantial size. I added a couple of lines to the PHP template to fix it, but it could also be useful to allow this setting in the group_vars.
I added the following to
roles/wordpress-sites/templates/php-fpm.conf.j2
To allow unlimited uploads through Nginx, I added
client_max_body_size
toroles/nginx/templates/wordpress.conf.j2
Some of these values may be unnecessary.
Thanks,
Jason
The text was updated successfully, but these errors were encountered: