Jump to content

PHP Upload MySQL server has gone away


dprichard

Recommended Posts

I created an upload script which works fine with smaller files.  When I try to upload a larger file I get MySQL server has gone away. 

 

:-\

 

I did a little research and saw that it may be the max_allowed_packet size on the MySQL server so I set it to 160000000, but I still get the same error.

 

Any thoughts?

Link to comment
https://forums.phpfreaks.com/topic/67219-php-upload-mysql-server-has-gone-away/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.