Updated: 28 September 2026 · Applies to: DirectAdmin with CloudLinux PHP Selector

memory_limit sets how much memory a PHP script may use.

Steps

  1. Log in to DirectAdmin (usually https://your-server:2222; the address is in your welcome email).
  2. Open Select PHP Version (CloudLinux PHP Selector), usually found under Extra Features.
  3. Open the Options tab and set memory_limit, for example 256M.

Note: The value cannot exceed your hosting plan's memory limit.

Related services

Server management

on-demand administration, hardening, migrations and monitoring.

KVM VPS hosting

NVMe SSD and full root access, with Free Basic Managed Support.

Was this answer helpful?

Still stuck? Open a ticket