Articles in this section

How to change PHP memory_limit value via Plesk?

Plesk for Windows kb: how-to Plesk for Linux ABT: Group A

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to change PHP memory_limit value via Plesk?

Answer

Note: Values specified in the examples are the default. Change them according to application needs.
The letters in values are K for kilobytes, M for megabytes, and G for gigabytes.

  1. Log in to Plesk GUI

  2. Change memory_limit value:

    • To change the memory_limit for one domain, go to Plesk > Domains > example.com > PHP Settings > memory_limit and type the new value, e.g. 128M:

    • To change the memory_limit globally, go to Plesk > Tools & Settings > PHP Settings > PHP handler > php.ini > find memory_limit and type the new value, e.g. 128M.

      Note: These settings will be only applied to the domains configured with the default value.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.