Updated: 28 September 2026 · Applies to: Plesk Obsidian 18.0 (and CloudLinux PHP Selector where installed)

memory_limit sets how much memory a PHP script may use. Raise it when you see "Allowed memory size exhausted".

Steps

  1. Log in to Plesk (the address, usually https://your-server:8443, is in your welcome email).
  2. Go to Websites & Domains, find the domain and click PHP.
  3. In the performance settings, set memory_limit, for example 256M.
  4. Click OK or Apply.

If your server uses CloudLinux PHP Selector, you can also make these changes in its Select PHP Version page; otherwise use Plesk's own PHP settings as shown here. The value cannot exceed what your hosting plan allows.

Related services

Plesk server management

installation, migrations and monthly plans with no lock-in.

cPanel, Plesk and LiteSpeed licences

for VPS and dedicated servers, with installation help on demand.

KVM VPS hosting

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

Was this answer helpful?

Still stuck? Open a ticket