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
- Log in to cPanel (for example at
https://yourdomain.com:2083, or from the Ucartz client area). - Open Software › MultiPHP INI Editor, choose the Basic Mode tab and select the domain.
- 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.