22 lines
460 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

本组件解决了阿里云官方PHP OSS SDK和Swoole CURL_HOOK的兼容问题。
安装本组件后就可以顺畅开启CURL_HOOK协程化阿里云OSS。
## 问题
开启CURL_HOOK后使用阿里云OSS会报错
```
Oss\Core\OssException: : RequestId:
```
## 解决方案
请同时安装官方SDK和本组件。
```bash
composer require aliyuncs/oss-sdk-php
composer require reasno/swoole-aliyunoss-addon
```
如果解决了问题请star 谢谢!