Changing the PHP version
- Login to Plesk.
- Go to the Websites & Domains menu, and you will see that the php version feature is displayed on the main page of your Plesk hosting control panel.
Click the PHP feature - Next you will be directed to the PHP Settings page, click on the drop-down menu to see the available PHP versions. Select the php version that will be used according to your needs.
The last step is to scroll down, then click the Apply button and then click OK to save the changes.
Changing PHP settings
Log in to the Plesk portal.
Go to Domain > example.com > PHP Settings .
Customize the PHP settings based on your needs and apply the changes. Click on the value field to set a custom value.