Forum Moderators: coopster
upload_max_filesize = 50M
post_max_size = 50M
max_execution_time = 300
max_input_time = 300
memory_limit = 32M
but I get this error:
Database error storing file: Got a packet bigger than 'max_allowed_packet'
is there any way to fix this?
It just doesn't make sense that I can make all those adjustments in my php.ini file but the max_allowed_packet trumps it all.
Instead of uploading the large file to the database can I upload it to a folder on the server and link to it from the database?
Yes, you could, and is an oft-employed technique. Also, since
max_allowed_packetis one of the MySQL Dynamic System Variables [dev.mysql.com] you could set it at runtime.