php-curl ErrnoProblem (2) in the Chunked-Encoded data问题解决
2017-04-17 14:46
1021 查看
查资料后发现php_curl扩展存在问题,使用该扩展的时候需要指明http版本,加入代码:
即可解决,亲测有效
curl_setopt($curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
即可解决,亲测有效
相关文章推荐
- Problem (2) in the Chunked-Encoded data解决
- curl 返回false (实际原因:Problem (2) in the Chunked-Encoded data)
- 解决Zend加密的PHP页面出现Fatal error: Incompatible file format: The encoded file has format major ID 1, whereas the Loader expects 4 in
- Laravel 出现"RuntimeException inEncrypter.php line 43: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths."问题的解决办法
- PHP curl报错“Problem (2) in the Chunked-Encoded data”解决方法
- 解决PHP编译cURL的reinstall the libcurl问题
- 解决PHP编译cURL的reinstall the libcurl问题
- curl 函数执行了之后返回false解决,打印错误信息返回PHP的Curl出现:curl call error(77): Problem with the SSL CA cert (path? ac
- sudo问题解决 用户名is not in the sudoers file
- 【解决问题】'failed to open stream:Permission denied in......'在php出现情况总结
- Decoupling models from the database: Data Access Object pattern in PHP
- Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path 解决(VS2010+IIS7.5)
- 解决Linux下svn问题:The program 'svn' can be found in following packages...
- 解决“A problem has been encountered while loading the setup components. Canceling setup.”的问题
- xx is not in the sudoers file 问题解决【转载】
- 让人哭笑不得的“Unable to load one or more of the types in the assembly”问题的解决!
- You cannot run the non-logged version of bulk copy in this database问题的解决方法
- 如何在Access中参数化日期类型,以解决Data type mismatch in criteria expression的问题
- php5.3 的问题 “Assigning the return value of new by reference is deprecated in xxxx”
- platform builder was unable to read the device settings from the datastore问题解决