With the PHP versions your system is using, you can also change the PHP settings for your desired configuration.
To change the PHP settings, you need to be logged in to your cPanel account. (Don’t know how to login to your cPanel account? Click here).
Once logged in to your cPanel account, locate and click on “Select PHP Version” from the “Software” Section.
You will be redirected on the “PHP Selector” page where you will find the current PHP version that the system is on and the different PHP extensions that your website is configured to use. Click on the “Switch To PHP Options” to see the list of the settings with its values.
Once you are on the “PHP Selector | Options” screen, you can continue to modify the values for the setting that you wish to change and just click on the “Save” button on the bottom part.
You can also find these settings from the PHP.ini file within your website directory.