mirror of
https://github.com/linuxserver/docker-nextcloud.git
synced 2026-04-27 00:00:25 +08:00
Disable PHP output buffering as per Nextcloud Docs (#224)
* Disable output buffering * Replicate changes to other docker files * Add changelog entry * Address feedback
This commit is contained in:
parent
31cb8e4935
commit
316986d000
@ -89,6 +89,7 @@ RUN \
|
||||
-e 's/max_execution_time.*=.*30/max_execution_time=120/g' \
|
||||
-e 's/upload_max_filesize.*=.*2M/upload_max_filesize=1024M/g' \
|
||||
-e 's/post_max_size.*=.*8M/post_max_size=1024M/g' \
|
||||
-e 's/output_buffering.*=.*/output_buffering=0/g' \
|
||||
/etc/php7/php.ini && \
|
||||
sed -i \
|
||||
'/opcache.enable=1/a opcache.enable_cli=1' \
|
||||
|
||||
@ -89,6 +89,7 @@ RUN \
|
||||
-e 's/max_execution_time.*=.*30/max_execution_time=120/g' \
|
||||
-e 's/upload_max_filesize.*=.*2M/upload_max_filesize=1024M/g' \
|
||||
-e 's/post_max_size.*=.*8M/post_max_size=1024M/g' \
|
||||
-e 's/output_buffering.*=.*/output_buffering=0/g' \
|
||||
/etc/php7/php.ini && \
|
||||
sed -i \
|
||||
'/opcache.enable=1/a opcache.enable_cli=1' \
|
||||
|
||||
@ -89,6 +89,7 @@ RUN \
|
||||
-e 's/max_execution_time.*=.*30/max_execution_time=120/g' \
|
||||
-e 's/upload_max_filesize.*=.*2M/upload_max_filesize=1024M/g' \
|
||||
-e 's/post_max_size.*=.*8M/post_max_size=1024M/g' \
|
||||
-e 's/output_buffering.*=.*/output_buffering=0/g' \
|
||||
/etc/php7/php.ini && \
|
||||
sed -i \
|
||||
'/opcache.enable=1/a opcache.enable_cli=1' \
|
||||
|
||||
@ -78,6 +78,7 @@ app_setup_block: |
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "30.09.22:", desc: "Disabled `output_buffering` as per [nextcloud docs](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html" }
|
||||
- { date: "21.05.22:", desc: "Update version check endpoint." }
|
||||
- { date: "28.04.22:", desc: "Increase OPCache interned strings buffered setting to 16." }
|
||||
- { date: "14.04.22:", desc: "Nginx default site config updated for v23 (existing users should delete `/config/nginx/site-confs/default` and restart the container). Fix LDAP connection." }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user