Learn how to increase PHP memory limit in DirectAdmin from our experts. Our DirectAdmin Support team is here to help you with your questions and concerns.
DirectAdmin Increase PHP memory limit
Did you know that DirectAdmin offers a feature that allows users to change the PHP Memory Limit as well as modify other PHP-related settings?
According to our experts, we can easily increase the PHP memory limit in DirectAdmin with these steps:
- First, we have to log in to our DirectAdmin control panel as the administrator.
- Then, we have to head to the Custom Httpd Configurations section under the Extra Features category.
- After that, we have to locate the PHO configuration file we plan on modifying. In most cases, the config files are named after the domain.
- Next, we have to click the Edit link located next to the PHP configuration file of the domain we plan to modify.
- At this point, we have to add this line to the file:
php_admin_value memory_limit 128M
The above line changes the the memory limit to 128 MB. We can change this value as per our requirements.
- Finally, it is time to click the Save button.
- Now, we have to head to the DirectAdmin control panel and click the HTTP Server (Apache) link under the Services Management section.
- Then, click the Rebuild button to regenerate the web server configuration with the updated PHP memory limit.
After the above steps, the new PHP memory limit will be in effect.
By increasing the PHP memory limit, it allows applications to use additional memory in order to run properly. However, we have to ensure the excessive memory does not impact the overall performance of the server as well.
[Need assistance with a different issue? Our team is available 24/7.]
Conclusion
In summary, our Support Techs demonstrated how to increase PHP memory limit in DirectAdmin in a few easy steps.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments