How to Change PHP Settings in DirectAdmin?

by | Last Updated Nov 8, 2020 | DirectAdmin | 0 comments

Some of your applications, plugins, and themes would need specific PHP values for it to run.

At Rovity, we offer domain level PHP settings that affect only a specific domain.

That means you can enable PHP 7.4 to one of your websites that is compatible with the latest PHP version.

Other domains can keep using old versions like PHP 7.3.

These settings are independent of each other.

To change PHP versions, modify PHP values, install or uninstall any PHP extensions, you need to log in to your DirectAdmin account.

How to Change the PHP Version?

To change your current PHP versions, log in to your DirectAdmin account.

Select PHP version in DirectAdmin

Now click on the Select PHP version icon under the Extra Features section.

Select the PHP version page would open now.

DirectAdmin Native PHP Warning

If your current PHP version is set as native, then you may see a warning.

DirectAdmin Change PHP Version

Click on the dropdown arrow, and you can see a list of available PHP versions.

Select your preferred PHP versions from this list.

DirectAdmin PHP Version Set as Current

Make sure you click on the Set as current to save the changes.

How to Install or Uninstall a PHP Extension?

From the same Select PHP version page, you can see a list of PHP Extension.

DirectAdmin PHP Extensions List

Those checked PHP Extensions are already installed PHP Extensions.

If you need to install an extension, you only need to select the extension.

You can remove any activated extension by unchecking the checkbox.

Directadmin PHP Reset to Default Button

Clicking on the Reset to default button will reset the installed extensions to the system default.

The Options tab will give you a page where you can manage PHP parameters like max_execution_time, memory_limit, post_max_size, etc.

The changes get saved instantly and reflect in your domains.

Was it easy to change PHP settings in DirectAdmin? Let us know your thoughts in the comments below.

We engineered our cloud infrastructure with Performance, Speed, Scalability, and Security in mind.

That’s why we built Rovity with AWS, CloudLinux OS, DirectAdmin, and LiteSpeed Web Server.

Come and experience the next generation of shared hosting on the cloud

By Subitha K S

Subitha is a multi-tasker. A graphic designer, web designer, web developer.

Check Out These Related Posts

How to Add New Domain to Your DirectAdmin?

How to Add New Domain to Your DirectAdmin?

Do you know you can host multiple domains with our higher plans like Gold and Diamonds? Having the ability to host more than one domain within the same DirectAdmin account is one of the primary reasons why our customers subscribed to higher plans. In this tutorial, I...

read more
How to Force Redirect Domains in DirectAdmin

How to Force Redirect Domains in DirectAdmin

Sometimes, you need to make sure your website needs to use www or without www. Traditionally, one of the easiest ways was to write a redirection code in the .htaccess files. But in this quick guide, I will show you how to redirect your website with www or non-www...

read more
How to Enable DKIM in DirectAdmin?

How to Enable DKIM in DirectAdmin?

In this tutorial, you will learn how to Enable DKIM in your DirectAdmin account. Enabling DKIM helps you to have better e-mail deliverability. So, make sure you have DKIM enabled for all your outgoing e-mails. First, let us see what DKIM is and its advantages.What is...

read more

0 Comments

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *