Updated: 28 September 2026 · Applies to: cPanel & WHM 138 (Jupiter theme)

PHP's memory_limit sets how much memory one PHP script may use. Raise it when you see "Allowed memory size of ... bytes exhausted".

In cPanel

  1. Log in to cPanel (for example at https://yourdomain.com:2083, or from the Ucartz client area).
  2. Open Software › MultiPHP INI Editor, choose the Basic Mode tab and select the domain.
  3. Set memory_limit, for example 256M, and click Apply.

On CloudLinux servers, use Software › Select PHP Version › Options instead.

Note: The value cannot go beyond the memory your hosting plan provides (up to 1 GB per account on shared hosting). If scripts still run out of memory at 256M or 512M, the application usually has a problem worth fixing, such as a plugin loading too much data.

Related services

KVM VPS hosting

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

Managed cPanel VPS

cPanel included; we handle updates, security and monitoring.

Server management

on-demand administration, hardening, migrations and monitoring.

Was this answer helpful?

Still stuck? Open a ticket