A message like "Allowed memory size exhausted"? Give PHP more memory.
Here's how
- Log in to DirectAdmin: open your plan in your client area and click Open DirectAdmin. You're signed in right away.
- Open Select PHP version (under Extra Features), or type "Select PHP" in the search field.
- Open the Options tab.
- For memory_limit, choose a higher value, e.g. 256M or 512M.
Does the page show an error about the "native" PHP version? Then first choose a regular PHP version at the top (e.g. 8.3) and click Set as current.
You can't go higher than your plan allows. If memory keeps running out, check which plugin uses so much.
Was this article helpful?