reasno/swoole-aliyunoss-addon

Make Aliyun OSS SDK work with swoole CURL_HOOK.

v1.0.1 2020-05-15 02:55 UTC

This package is auto-updated.

Last update: 2021-11-29 02:58:34 UTC


README

本组件解决了阿里云官方PHP OSS SDK和Swoole CURL_HOOK的兼容问题。

安装本组件后就可以顺畅开启CURL_HOOK协程化阿里云OSS。

问题

开启CURL_HOOK后使用阿里云OSS会报错:

Oss\Core\OssException: : RequestId:

解决方案

请同时安装官方SDK和本组件。

composer require aliyuncs/oss-sdk-php
composer require reasno/swoole-aliyunoss-addon

如果解决了问题,请star 谢谢!