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
- Log in to Plesk (the address, usually
https://your-server:8443, is in your welcome email). - Go to Websites & Domains, find the domain and click PHP.
- In the performance settings, set
memory_limit, for example256M. - 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.