The most commonly adjusted setting.
THE SYMPTOM
A fatal error stating that allowed memory size was exhausted.
The message names the limit and the file.
HOW TO INCREASE IT
cPanel, PHP selector, options, memory_limit.
Choose a higher value and save.
HOW MUCH
Raise to the next reasonable step rather than to the maximum.
A modest site rarely needs a large limit.
WHAT TO CHECK FIRST
Whether something is wrong rather than genuinely needing more.
A plugin leaking memory or an unbounded query needs fixing, not accommodating.
WHERE THE ERROR NAMES A FILE
That tells you which component is consuming it.
If the same plugin appears repeatedly, that is the problem.
FOR WORDPRESS
There is also a memory setting in wp-config.php.
Both matter; the lower one applies.
WHAT NOT TO DO
Raise it repeatedly without asking why.
A site needing constantly increasing memory has a problem that will not be solved by raising limits.