Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up(Community Discussion) Default settings for PHP and Apache/Nginx #302
Comments
cytopia
self-assigned this
Jul 5, 2018
cytopia
added
help wanted
docker
feedback wanted
labels
Jul 5, 2018
This comment has been minimized.
This comment has been minimized.
Tuurlijk
commented
Jul 15, 2018
for MySQL I have found these settings help:
max_allowed_packet helps when importing dumps with long lines. It prevents the 'mysql has gone away' message. For PHP
|
This comment has been minimized.
This comment has been minimized.
jukben
commented
Jul 27, 2018
Hey! It would be awesome to create one config file (or maybe as a part of .env) for those general configurations (as upload_max_filesize) to share them automatically across versions depend on your configuration. That would help me a lot |
This comment has been minimized.
This comment has been minimized.
@jukben those standard settings will be baked into each container by default, once they have been defined. So there will be no need for the user to apply standard settings, only to change those. |
This comment has been minimized.
This comment has been minimized.
jukben
commented
Jul 27, 2018
On the other hand, yep, that would definitely solve my problem why I had to mess with config in the first place #323 Thanks for working on this. |
This comment has been minimized.
This comment has been minimized.
php.ini defaults
How it works
|
This comment has been minimized.
This comment has been minimized.
Quick update: PHP defaults PR has been merged and new Images should be available in 1-2 hours. |
This comment has been minimized.
This comment has been minimized.
@Tuurlijk I left out opcache settings at the moment as I am not very experienced with it. |
This comment has been minimized.
This comment has been minimized.
I am adding new PHP-FPM settings: devilbox/docker-php-fpm#40 to solve the following issue: #234
UpdateThe above settings not valid anymore For new settings see initial post at the very top |
Aug 1, 2018
This was referenced
cytopia
changed the title
(Community Feedback) Default settings for PHP and Apache/Nginx
(Community Discussion) Default settings for PHP and Apache/Nginx
Sep 30, 2018
cytopia
added
discussion
and removed
docker
help wanted
labels
Sep 30, 2018
This comment has been minimized.
This comment has been minimized.
Migration noteCommunity discussion will be continued on The Devilbox Forums in topic: Default settings for PHP-FPMmention: @Tuurlijk @jukben @9034725985 |
cytopia commentedJul 5, 2018
•
edited
Community Discussion: Default settings for PHP and Apache/Nginx
I would like to standardize sane default settings for PHP and Apache/Nginx across all of their versions.
Todo
Webserver
Done
PHP
Defaults for PHP are available here:
php-fpm.conf
php.ini