Upload of large(ish) files hangs - php.ini edited

Asked by Andy Smart

Hi

I've trying to upload some video files to Xibo (running on Ubuntu). I've altered the php.ini file to read:

upload_max_filesize = 100MB
post_max_size = 100M

The uploads screen reflects this by saying I can upload a file up to 100MB, however the upload just continues (one assumes forever if I didn't get bored). I've just tried a 3.5MB SWF file and the same thing happened.

Any ideas gratefully recieved...

tia

andy

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Andy Smart (andysmart-2) said :
#1

I've checked the library - I've successfully uploaded a 28MB mpeg before now

Revision history for this message
Alex Harrington (alexharrington) said :
#2

Please see the FAQ on this subject.

You need to change more than just the file upload size parameters - for
example max execution time, max input time etc

Revision history for this message
Andy Smart (andysmart-2) said :
#3

Thanks - I've tried that already and set the max_execution_time to 2500 (which at 40 odd minutes ought to be enough to move a few megabytes over the lan...)

max_input_time isn't in the FAQ page I found (#510) so thanks for flagging that one. I've upped that to 2500 as well - but it doesn't seem to have made any difference.

Revision history for this message
Alex Harrington (alexharrington) said :
#4

You restarted Apache?

Revision history for this message
Alex Harrington (alexharrington) said :
#5

max_input_time is indeed mentioned in the article linked from the FAQ

http://www.radinks.com/upload/config.php

Please ensure you configured all the variables per that document

Other people added to my FAQ which just originally links to that document.
That document is authoritative and the other stuff is probably not helpful

Revision history for this message
Andy Smart (andysmart-2) said :
#6

Hi Alex

Thanks for all your help on this one..

file_uploads = On
upload_max_filesize = 100MB
max_input_time (this was commented out, when I set it to 2500 in line with the other time ones apache ignored the 100Mb limit and put it back to 2Mb - commenting it out again reset it to 100Mb)
memory_limit=128Mb
max_execution_time=2500
post_max_size = 100Mb

Again, seems to make no difference

Best wishes
andy

Revision history for this message
Alex Harrington (alexharrington) said :
#7

If the settings are ignored, sounds like perhaps a syntax error in your
file somewhere.

Those settings should work.

Revision history for this message
Alex Harrington (alexharrington) said :
#8

Also note the correct values is

file_uploads = On
upload_max_filesize = 100M
max_input_time = 2500
memory_limit = 128M
max_execution_time = 2500
post_max_size = 100M

Mb isn't valid so far as I can see.

Alex

Revision history for this message
Andy Smart (andysmart-2) said :
#9

Bingo, thanks a lot :-)

andy

Can you help with this problem?

Provide an answer of your own, or ask Andy Smart for more information if necessary.

To post a message you must log in.