本文介绍了如何通过cURL发送大数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在将数据从一台服务器迁移到另一台服务器,并且正在使用curl进行迁移.到目前为止,我已经取得了成功,但是有些大型实体尚未迁移!
I am migrating data from one server to another and I am using curl to do so. I have been successful so far, but there are some large entities that are not migrating!
我已经尝试过将其增加到大约64MB(或更高,具体取决于发布数据的大小):
Your post size is exceeding your set post_max_size of 8MB. Try increasing this to something like 64MB (or higher, depending on the size of the posted data) using in php.ini:
post_max_size=64M
或在脚本中
ini_set('post_max_size', '64M');
这篇关于如何通过cURL发送大数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!