# Webdav breaks with PHP zlib output compression in recent Fedora

**URL:** <https://help.nextcloud.com/t/webdav-breaks-with-php-zlib-output-compression-in-recent-fedora/136539>\
**Category:** ℹ️ Support\
**Tags:** php8\
**Created:** [March 30, 2022, 6:12pm UTC](https://help.nextcloud.com/t/webdav-breaks-with-php-zlib-output-compression-in-recent-fedora/136539 "2022-03-30T18:12:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![technosquid](https://help.nextcloud.com/user_avatar/help.nextcloud.com/technosquid/32/43133_2.png) [@technosquid](https://help.nextcloud.com/u/technosquid)\
**Post date:** [March 30, 2022, 6:12pm UTC](https://help.nextcloud.com/t/webdav-breaks-with-php-zlib-output-compression-in-recent-fedora/136539/1 "2022-03-30T18:12:49Z")

</div>

I’m running the latest Fedora 35, php 8.0.17-1, httpd 2.4.53. Seemingly almost spontaneously late last week, calendar stopped syncing, and when I went into the Admin Overview, I got the helpful “webdav interface appears to be broken” message. No real help in the httpd error logs, nor in php-fpm www log. I completely reinstalling Fedora 35 and nextcloud from scratch on another VM, and did not get the errors. Was about to post logs and such here, but in a “hail mary”, I swapped my php.ini around and discovered that it was the line enabling zlib crompression (zlib.output\_compression = On) that was breaking everything. I can only assume that something broke in the PHP update.

Anyway, posting here in the chance that it helps someone else with a similar issue.

---

<div class="post-metadata">

**Author:** ![razorrazor](https://help.nextcloud.com/user_avatar/help.nextcloud.com/razorrazor/32/33247_2.png) [@razorrazor](https://help.nextcloud.com/u/razorrazor)\
**Post date:** [April 1, 2022, 12:26pm UTC](https://help.nextcloud.com/t/webdav-breaks-with-php-zlib-output-compression-in-recent-fedora/136539/2 "2022-04-01T12:26:04Z")

</div>

Hi there! The same problem here. Php 8 and Apache webserver on a shared host.

It breaks some features, like online pdfviewer.

Please, help!

---

<div class="post-metadata">

**Author:** ![razorrazor](https://help.nextcloud.com/user_avatar/help.nextcloud.com/razorrazor/32/33247_2.png) [@razorrazor](https://help.nextcloud.com/u/razorrazor)\
**Post date:** [April 6, 2022, 12:06pm UTC](https://help.nextcloud.com/t/webdav-breaks-with-php-zlib-output-compression-in-recent-fedora/136539/3 "2022-04-06T12:06:28Z")

</div>

I have another NextCloud installation under PHP 7.4 and I’ve realized that this error is not raised.

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/6_22734026db12803ebb3e059622ac3534.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [April 6, 2022, 1:23pm UTC](https://help.nextcloud.com/t/webdav-breaks-with-php-zlib-output-compression-in-recent-fedora/136539/4 "2022-04-06T13:23:36Z")

</div>

Just a fedora problem? Or in general with `zlib.output_compression = On` on PHP\>=8?  
If it is in general, it would be interesting for a bug report.

---

<div class="post-metadata">

**Author:** ![razorrazor](https://help.nextcloud.com/user_avatar/help.nextcloud.com/razorrazor/32/33247_2.png) [@razorrazor](https://help.nextcloud.com/u/razorrazor)\
**Post date:** [April 8, 2022, 12:36pm UTC](https://help.nextcloud.com/t/webdav-breaks-with-php-zlib-output-compression-in-recent-fedora/136539/5 "2022-04-08T12:36:57Z")

</div>

I have no idea, I’ve reproduced the error in several shared hosts by IONOS, all ones with 8.0

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 13, 2024, 2:03pm UTC](https://help.nextcloud.com/t/webdav-breaks-with-php-zlib-output-compression-in-recent-fedora/136539/6 "2024-12-13T14:03:32Z")

</div>


