Here, i will show you increase maximum upload file size cpanel php ini. We will use change upload_max_filesize php cpanel. In this article, we will implement a increase memory limit php.ini cpanel. you will learn how to create custom php.ini file in godaddy cpanel.
So basically, Almost server like godaddy server, a2hosting server, hosting raja server that provide basic configuration in default php ini file. so some time we need to increase it with maximum upload file size, memory limit etc. every server have different way to creating custom php ini file creation. i will give two example that will help you.
In this post, i will show you how it easy to create custom php.ini file with change default value of php ini file.
I checked on my GoDaddy Project.
I created .user.ini file with following changes. You need to put on your root directory so it effect only that project:
Path: public_html/mypro.com/index.php
Create File Path: public_html/mypro.com/.user.ini
memory_limit = 148M
max_input_vars = 4000
upload_max_filesize = 120M
post_max_size = 120M
max_execution_time = 250
If above solution not work then you can also try this one:
Create File Path: public_html/mypro.com/php.ini
memory_limit = 148M
max_input_vars = 4000
upload_max_filesize = 120M
post_max_size = 120M
max_execution_time = 250
Then last you can check with this:
<?php phpinfo(); ?>
I hope it can help you...