21309 Posts in 5738 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2819 Views |
-
File Upload Limit?

8 January 2010 at 11:03pm
Hi, I am having problems solving an issue where I am unable to upload files over 2Mb from within the Files/Images in the CMS. I have read the forum and there has been mention of a php.ini file being modified. I have placed a php.ini file in the root of my server but still have this problem. Any help or advice on where to place the php.ini file or indeed what to change within that file would be greatly appreciated.
Thanks
-
Re: File Upload Limit?

9 January 2010 at 2:48pm
Hey SuperBlues.
Your problem is indeed related to php.ini.
In php.ini there is a section related to file uploads that will have the following line in it;
; Maximum allowed size for uploaded files.
upload_max_filesize = 2MChange the 2M to be something more in line with what you need, then restart apache and you should be good to go.
It is also possible (though i have not tried this yet) to put the following line in to the .htaccess.
php_value upload_max_filesize 20M
Hope that helps.
Cheers
Owen -
Re: File Upload Limit?

11 January 2010 at 1:20am
Hi thanks for clarifying but I have made these changes and still have a 2Mb limit it seems. I clarified that the limit had been changed by viewing the info.php page and it is set to 8mb now but still unable to upload anything larger than 2Mb.
I noticed that there is no value in the upload_tmp_dir does this need to be changed? If so what to?
thanks for any help here guys!!!!
-
Re: File Upload Limit?

11 January 2010 at 9:18am
You also need to increase the value of "post_max_size" in your php.ini file.
| 2819 Views | ||
|
Page:
1
|
Go to Top |



