Changing “upload_max_filesize” in php.ini on GoDaddy Shared Hosting

Changing upload_max_filesize on GoDaddy

Are you running your website on a GoDaddy shared hosting plan? Are trying to upload a file using a PHP script and you can’t get it to upload files larger than 8 MB? Do you want to change the maximum allowed file size for uploads? If this is the case, I have a solution for you. Place the following code in your php.ini file in the script directory (If there is no php.ini file, create one.)


rg_emulation = off
allow_url_fopen = on
memory_limit = 25000M
post_max_size = 9000M
file_uploads = On
max_execution_time = 3000000000
max_input_time = 30000000000
upload_max_filesize = 9000M


Please note that it may take a few hours for the changes to take affect.

Let me know if these settings worked for you.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.