Knowledge Base


How to change PHP Settings in DirectAdmin

Like MultiPHP INI Editor in cPanel, DirectAdmin introduced PHP Settings. Using the same option, you can manage various settings of PHP, such as managing memory limit, error reporting, etc. We'll teach you how to adjust PHP settings in DirectAdmin. 


1. First, to login into DirectAdmin control panel visit, 

https://your-domain.com:2222 or https://IP-address:2222 or https://server-hostname:2222.

 

2. Navigate to Account Manager → PHP Settings.

account manager php settings

3. In the Setting option, you have a dropdown with many configurable options. For example, if you want to configure the memory_limit; select the memory_limit from the scrollable Setting option.

memory limit php settings

4. Next, enter the value for the selected Setting. For the example above, we have selected memory_limit. By default, the memory_limit comes with pre-defined values (64M, 128M, etc.), but also you can enter the custom value as per the requirements.

enter the php settings values directadmin

5. Finally, click on Add.

How to adjust PHP Settings in DirectAdmin

Using the PHP Settings you can configure/manage the following php settings,

display_errorserror_reportingfile_uploads
include_pathlog_errorsmail.force_extra_parameters
mex_execution_timemax_input_timemax_input_vars
memory_limitpost_max_sizeregister_globals
session.gc_maxlifetimeshort_open_tagupload_max_filesize
zlib.output_compression  

Conclusion

We’ve gone over how to adjust the PHP settings in the DirectAdmin control panel. For the development purpose and to meet the requirements for the development project, we might require updating the PHP settings, and the elaborated above steps will make sure to solve the problem.

Experience transparent, affordable hosting with flexible maintenance packages tailored to your actual needs. Pay only for what you use—no forced monthly fees for unused services—and receive dedicated support precisely when you need it. You’re not using Usijali Hosting for the best webhosting experience? Well, why not? 
 

Reach out to our Sales team today and discover how Usijali Hosting can enhance your hosting experience.  Unsure which hosting plan fits your project best? Our team will guide you through every step.  
 

Please rate this article to help us improve our Knowledge Base.

0 0