Create a php.ini

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.) 

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Which nameserver i have to use?

Please use the following nameserver:ns1.flokinet.netns2.flokinet.netns3.flokinet.netns4.flokinet.net

Can i upgrade or downgrade my hosting package?

You can upgrade or downgrade your hosting at any time on the fly without any downtime.An...

Using allow_url_fopen

The allow_url_fopen directive is disabled by default. You should be aware of the security...

Setting up Email Account with Thunderbird

Setting up Email Account with Thunderbird Mozilla Thunderbird is a free, third party email...