How to access the php.ini from my CPanel?
If you’re on a shared hosting environment you won’t have access to the php.ini to make these changes, if you need access, a virtual private server (VPS) or a dedicated server may be a better option if you’re confident in managing it yourself.
Alternatively if you create a new file called .htaccess in your root of your web directory (Ensure it doesn’t contain a .txt extension if using notepad to create the file) and copy something like this inside.
php_value settingToChange 6000
This will only work if your hosting provider let’s you override the certain config value. Best to ask if it doesn’t work after trying.