With the PHP selector you can configure any support PHP version and select the required modules.
Select PHP version in DirectAdmin
- Navigate to DirectAdmin user level.
- Navigate to Advanced Featuresand click on Select PHP Version.
- Go to Changing the PHP version with the PHP Selector.
Change PHP version in cPanel
- Log in to cPanel.
- Go to Software → Select PHP versionor enter this name in the search bar.
- Go to Changing the PHP version with the PHP Selector.
Changing the PHP version with the PHP Selector
- By default, your account runs on the native PHP version that has been installed. We will update this version from time to time to make sure it is the latest version. We recommend to select the version you prefer to make sure that your application keeps running.
Image 1 - Select PHP version - Click on the dropdown (see image 1) and choose the desired PHP version.
Click on Set as current.
The Savebutton only updates the selected PHP modules and not the versions. To update the PHP version, click on Set as current. - The PHP versions have been updated now.
To customise the PHP configuration further you can check the following related articles: