X
X
Worldwide (English) USD 0

Welcome

Sign in

Knowledge Base

HomepageKnowledge BaseWeb HostingHow to Change PHP Version, Enable E...

How to Change PHP Version, Enable Extensions, and Increase Limits in DirectAdmin

In this tutorial, you will learn how to change the PHP version, enable/disable extensions, and modify limits and parameters such as upload_max_filesize, memory_limit, and max_execution_time directly in the DirectAdmin panel.


1. Access the PHP Version Selector

In the side menu, click Extra Features.

Select Select PHP Version.

 

2. Change PHP Version and Manage Extensions

In the Current PHP Version field, select the desired version (e.g., 8.2, 8.1, 7.4).

Check or uncheck the extensions you want to enable/disable.

Changes are applied automatically.

 

3. Adjust PHP Limits and Settings

Click on the Options tab.

Change values such as:

  • upload_max_filesize — maximum file upload size.
  • post_max_size — maximum form submission size.
  • memory_limit — memory limit for PHP scripts.
  • max_execution_time — maximum execution time for scripts.

Check/uncheck additional parameters such as allow_url_fopen or display_errors.

 

Important Tips:

If unsure which version to use, choose the latest stable version recommended by Turbohost.

Enable only the necessary extensions to avoid excessive resource usage.

Avoid setting unnecessarily high values, as it may affect performance and security.

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?
(346 times viewed / 0 people found it helpful)
Copyright © 2025 All Rights Reserved
Top