Increase upload file size limit6 users found helpful
An unknown error occurred while uploading the file. Please check that file uploads are enabled, and that your file does not exceed the size of the post_max_size or upload_max_filesize variables.
Where do I look to change the variables of post_max_size and upload_max_filesize?
I don't want to upload via FTP, rather increase this file size limit. Any help would be greatly appreciated!
Paste this into a plain text editor...
upload_max_filesize = 20M ; post_max_size = 20M ; max_execution_time = 60 ;
... and save the file as "php.ini" (or "php4.ini" if the default version on the server is PHP5 and you are using PHP4). Upload it to your public root (e.g. public_html, www, home, etc) and it will increase the maximum upload to 20MB, and timeout to 60 seconds. You can adjust the numbers to suit.
; By default, PHP installs itself with a configuration suitable for
; development purposes, and *NOT* for production purposes".
So now I have created a new php.ini file that reads " upload_max_filesize = 20M ;
post_max_size = 20M ;max_execution_time = 60 ;”
The one I found is in the root folder public_html/mysite.com/concrete5
I need to know how to handle this. Any help would be great at this point. I need my max upload file size to be much larger than 20 or even 100Mb.
If you can't get it to change it is a question for your hosting companies support as it is a server issue.
post_max_size = 80M
file_uploads = On
upload_max_filesize = 80M
This sets the limit to 80MB.
Changed php.ini (php5) on my server as mentioned in this thread. I am using a simple form for uploading files. It will upload most files except mp3 for some reason. Also, it won't upload files more than 15M even though I have it set to 120M.
When I test my uploader, it shows a progress percent bar and looks fine all the way to 99% then displays "HTTP Error"
I am going crazy, any new suggestions? Thanks in advance.
(my experience in web design is novice; I'm trying though)
So, you might want to see if a lower number would work for you.
I will continue trying different things and stay within the 80mb range like you suggested. That is all I should really need too.
No matter what, I can not upload a file much larger than 10Mb.....uhhggg it is really frustrating.
Thanks for your replies; however, I surrender. It looks like I'm gonna have to get my server's help desk on the horn....uhhggggg again.
I hope this helps.
Among other things, it will tell you the path of the php.ini it's actually using, which isn't always where you might think it is. It may also list other folders that it checks for php.ni overrides. Once you've found these, add the values you need.
Dashboard » System & Settings » Environment Information
and check the values for:
post_max_size - 10M
upload_max_filesize - 10M
I have a site on JustHost.com (BlueHost.com) which runs PHP v5.4.19
First I placed the following lines in a php5.ini file and placed it in /public_html and that had no effect.
file_uploads = On upload_max_filesize = 100M post_max_size = 100M upload_tmp_dir = /tmp/
Next I changed the file name from php5.ini to php.ini and everything worked fine. A recheck of the Environment Info then read:
post_max_size – 100M
upload_max_filesize - 100M
You need to reload the config.
e.g. on CentOS
service httpd reload
The following URL shows how to change it on Blue Host... Your host will be different.