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 if it 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 and install or uninstall any PHP extensions, you need log in to your DirectAdmin account.
How to Change the PHP Version?
To change your current PHP versions log in to your DirectAdmin account.
Now click on the Select PHP version icon under Extra Features section.
Select PHP version page would open now.
If your current PHP version set as native, then you may see a warning.
Click on the dropdown arrow, and you can see a list of available PHP versions.
Select your preferred PHP versions from this list.
Make sure you click on the Set as current to save the changes.
How to Install or Uninstall a PHP Extension?
From the same PHP Selector | Extensions page, you can see a list of PHP Extension.
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.
Clicking on the Reset to default button will reset the installed extensions to the system default.
The next button Switch to PHP options will give you options to manage PHP parameters like memory_limit.
In this PHP Selector | Options page, you can manage PHP values like max_execution_time, memory_limit, post_max_size etc.
The changes get saved instantly and reflect in your domains.
Was changing PHP settings in DirectAdmin easy? Let us know your thoughts in the comments below.