gnome Posted November 21, 2012 Posted November 21, 2012 Hi I'm having trouble adding PDFs to my page. They are large files - up to 50Mb. They appear to be failing - the progress bar gets stuck on 99%. I have tried adding upload_max_filesize = 100M post_max_size = 100M to php.ini, but no luck. Has anyone else had this and found a solution? Thanks!
apeisa Posted November 21, 2012 Posted November 21, 2012 Please, see this topic (there are few other server settings that needs to be adjusted):
gnome Posted November 21, 2012 Author Posted November 21, 2012 apeisa, thanks. I've tried what they suggest - still not able to upload a 25MB PDF!
ryan Posted November 21, 2012 Posted November 21, 2012 Your PHP memory limit may be a factor. You might have it set to 32 or 64. I'd suggest bumping it up to 256.
mike77 Posted September 26, 2013 Posted September 26, 2013 When I'm uploading a bigger file (90Mb for example) it stops on 99% or 100% and freezes. I have done all PHP configuration required. What could be the problem?
Martijn Geerts Posted September 26, 2013 Posted September 26, 2013 Can you specify the settings you've done?
mike77 Posted September 26, 2013 Posted September 26, 2013 Hi Martijn, Well I altered php.ini like this: upload_max_filesize = 150M post_max_size = 150M memory_limit = 128M max_execution_time = 120 max_input_time = 120
Martijn Geerts Posted September 26, 2013 Posted September 26, 2013 I'm by far not an expert at this. But it seems to me that memory limit should at least double your 90Mb. Next to that max_input_time is way to less if you asked me. Our internet connection is not that great. It would take 12 minutes (720 seconds) for us to upload 90Mb if there's no interuption 1
mike77 Posted September 26, 2013 Posted September 26, 2013 Thanks for suggesting to push memory_limit higher. max_input_time is no matter in my case because Im working on localhost and the upload is quite fast. I must check it on live server though. Thanks again
titanium Posted September 26, 2013 Posted September 26, 2013 Did you take a look at the server logfiles? I bet you will find hints about the problem in "error.log". It Apache does not complain, it's most likely no Apache problem.
ryan Posted September 29, 2013 Posted September 29, 2013 I think Martijn is right and this really is a memory_limit issue. Especially if that file is an image, as it'll have to be processed to generate a thumbnail too. And once uncompressed for processing, a 90 MB image is going to be quite large. Even if not an image, 128 MB is still too little for this situation. I would bump it to 256. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now