How to update the PHP versions in DirectAdmin.
1. Log in to your DirectAdmin account.
2. In the top-right corner, select the domain for which you want to change the PHP version.
3. Please search the "PHP Settings" option.

4. Select the desired PHP version from the drop-down menu.

5. Click on Save.
3. Please search the "PHP Settings" option.
4. Select the desired PHP version from the drop-down menu.
5. Click on Save.