Prerequisites
Steps
Log in to your cPanel account.
Scroll down to the Software section. The exact location of this section may vary depending on your cPanel theme.
Click on the Select PHP Version option.
Click on the Options tab.
Locate the following options and change their values as needed:
Once you have made your changes, click on the Save button.