If you want have a own php.ini to customoze your settings you can create file in your public_html folder (also subfolder if you need different settings per setuped websites)
Log in to cPanel, if you haven’t already done so
Open File Manager
Click New File
In the box labelled New File Name: type php.ini
Ensure New file will be created in: username /public_html
Click Create New File
Next step:
Customise the php.ini file settings in Code Editor
You can create customized settings for example:
Below are some examples of the changes that can be made along with the syntax to use. The notes in brackets are not part of the syntax:
post_max_size = 20M (Maximum size of POST data that PHP will accept, in megabytes)
upload_max_filesize = 20M (Maximum allowed size for uploaded files, in megabytes)
max_execution_time = 30 (Maximum execution time of each script, in seconds)
max_input_time = 60 (Maximum amount of time each script may spend parsing request data, in seconds)
memory_limit = 8M (Maximum amount of memory a script may consume, in megabytes)
magic_quotes_gpc = Off (Magic quotes for incoming GET/POST/Cookie data)
magic_quotes_runtime = Off (Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.)