Need help fast? Our support team is available on WhatsApp. Chat Now
Client Area Contact Support

How to Enable or Disable zlib.output_compression in DirectAdmin

Last updated 1 min readYashwanth Nagati

Reviewed by Yash Host Support Team

Quick Answer

The setting in PHP compresses the output of PHP scripts, which can improve loading speed for users. Here’s how to toggle this setting on or off in DirectAdmin: You have now successfully updated the setting in DirectAdmin, adjusting the compression for PHP output as needed.

The zlib.output_compression setting in PHP compresses the output of PHP scripts, which can improve loading speed for users. Here’s how to toggle this setting on or off in DirectAdmin:


Step 1: Log in to DirectAdmin

  1. Log in to your DirectAdmin account.

Step 2: Access PHP Settings

  1. In the main menu, go to Account Manager and select PHP Settings.

Step 3: Locate zlib.output_compression

  1. On the PHP Settings page, find the zlib.output_compression option in the dropdown list.

Step 4: Set zlib.output_compression to On or Off

  1. In the value dropdown for zlib.output_compression, select On to enable compression or Off to disable it.
  2. Click Add to save your changes.

Step 5: Confirm the Change

  1. A confirmation message will appear at the top of the page, indicating that the zlib.output_compression setting has been successfully updated.

You have now successfully updated the zlib.output_compression setting in DirectAdmin, adjusting the compression for PHP output as needed.

Was this article helpful?

Still need help?

Our hosting experts are ready to help you — choose the channel that suits you.

24/7 support · Replies within minutes