Skip to content
Your Hosting Ad Goes Here KBAssets

How to Enable or Disable zlib.output_compression in DirectAdmin

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?
YesNo
Back To Top