For those of you with sites that allow uploads:
You may have run into this problem - Your server only allows php_value upload_max_filesize 2M and php_value post_max_size 8M
This is hardly enough for 9 out of 10 uploads, so you need to over-ride these settings.
Most time you can get away with using a .htaccess file.
In a notepad .txt document you would put this:
php_value upload_max_filesize 120M
php_value post_max_size 120M
Save as .htaccess and upload to your public_html.
Most times this would fix the problem. However if by doing this you cause an error 500 Internal Serevr Error there is an alternate fix.
In notepad .txt document write this:
upload_max_filesize = 120M
post_max_size = 120M
Save as php.ini and upload to your public_html as well as any sub-directories.
Now where I have 120M you can change to a higer value if you need, but remember to set both upload and post to the same number.
Now if you have tried both of these options and still run into trouble you need to contact your host and ask that they add AllowOverride All for your domain to their server settings. Once they confirm that they have you can go ahead and try these options again.
If you have found the above information helpful, please feel free to add a link back so that others may find this page to get help as well.Â
If you liked the above post, why not buy a round of coffee :)Suggested Reading
Christmas Gifts
Buy Amazing Christmas Gifts on Walmart for your family [..]
US Colleges
Choose the right college with our site. Check some [..]
Leave a Reply
You must be logged in to post a comment.
Hey There!
Recent Comments