Skip to content
Your Hosting Ad Goes Here KBAssets

How to Increase PHP memory_limit in DirectAdmin

Increasing the PHP memory_limit allows scripts to use more memory, which can improve performance for resource-intensive tasks. Follow these steps to adjust the memory_limit in DirectAdmin.


Step 1: Log in to DirectAdmin

  1. Log in to your DirectAdmin account.

Step 2: Go to PHP Settings

  1. In the main menu, under Account Manager, click PHP Settings.

Step 3: Select memory_limit Option

  1. On the PHP Settings page, you’ll find a list of configuration options like display_errors, memory_limit, post_max_size, and more.
  2. Select memory_limit from the dropdown to adjust this setting.

Step 4: Set the New Value

  1. In the value dropdown, choose the desired memory limit, such as 128M, 256M, or 512M.
  2. Click the Add button to apply the change.

Step 5: Confirmation

  1. A confirmation message will appear at the top of the page, confirming that the memory_limit has been successfully updated.

You’ve now increased the PHP memory_limit in DirectAdmin, providing more memory for PHP processes as configured.

Was this article helpful?
YesNo
Back To Top