21286 Posts in 5733 Topics by 2602 members
|Go to End|
24 February 2009 at 1:18am
I have a $has_many file manager working on my site. I can upload pdf's perfectly... but only if they are under a few Mb. I want to upload pdf documents that are up to 5Mb or 10Mb in size. How do i do this? Do i have to change a _config.php or php.ini file?
25 February 2009 at 8:33am
i gues its not related to pdf files - it's the filesize that matters. if you have access to php.ini check the value post_max_size.
25 February 2009 at 9:04am
Thanks Lerni. I checked the post_max_size and it was set to 8M. I actually found that it was the upload_max_filesize that was causing the files not to load. It was set to 2M so i just increased it. Thanks for pointing me in the right direction though!
24 July 2009 at 4:48pm
This helped me SO much! I could NOT figure out why I had one PDF file that wouldn't upload. it was 2.1MB. Once I changed the max upload size it uploaded just fine. THANKS!
8 January 2010 at 8:06am
Hi, I have the same problem but am not sure where to load the php.ini file. can you tell me where you loaded your file please?
25 August 2010 at 1:23am
The PHP.INI file is in different locations on different systems.
On Linux is is usually somewhere like:
/etc/php5/ or /etc/php5/apache2/
On Mac it is in:
On windows it will probably be under:
C:\php or C:\Program Files\php
Hope that helps.
|Go to Top|