You can modify PHP Memory Limit as per your needs using CloudLinux PHP Selector in DirectAdmin.
1. Log in to your DirectAdmin account.
2. In the Extra Features section, click on Select PHP version or type Select PHP inSearch for pages. The option will appear. Click on it.
![]()
3.Under the Account Global Settings, go to the Optionstab.

Note: If it shows an error related to the Native PHP version, change to a non-Native PHP version first.
4. Look for memory_limit and click on the drop-down option displayed in front of it. Then choose the appropriate limit as per your requirements.

A message will appear stating that the memory limit has been modified.
You have successfully increased or decreased the PHP memory limit using the CloudLinux Selector in DirectAdmin.