You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Command: uname -a && php -v && composer info | grep hyperf && php --ri swoole
Linux 59a37c03e093 5.15.0-105-generic #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024 x86_64 Linux
PHP 8.1.25 (cli) (built: Nov 8 2023 22:42:57) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.25, Copyright (c) Zend Technologies
with Zend OPcache v8.1.25, Copyright (c), by Zend Technologies
hyperf/cache v3.1.15 A cache component for hyperf.
hyperf/code-parser v3.1.15 A code parser component for Hyperf.
hyperf/codec v3.1.15 A codec component for Hyperf.
hyperf/collection v3.1.7 Hyperf Collection package which come from illuminate/collections
hyperf/command v3.1.13.1 Command for hyperf
hyperf/conditionable v3.1.0 Hyperf Macroable package which come from illuminate/conditionable
hyperf/config v3.1.15 An independent component that provides configuration container.
hyperf/constants v3.1.16 A constants component for hyperf.
hyperf/context v3.1.15 A coroutine/application context library.
hyperf/contract v3.1.2 The contracts of Hyperf.
hyperf/coordinator v3.1.7 Hyperf Coordinator
hyperf/coroutine v3.1.15 Hyperf Coroutine
hyperf/crontab v3.1.16 A crontab component for Hyperf.
hyperf/database v3.1.15 A flexible database library.
hyperf/db-connection v3.1.15 A hyperf db connection handler for hyperf/database.
hyperf/devtool v3.1.15 A Devtool for Hyperf.
hyperf/di v3.1.14 A DI for Hyperf.
hyperf/dispatcher v3.1.0 A HTTP Server for Hyperf.
hyperf/engine v2.10.5 Coroutine engine provided by swoole.
hyperf/engine-contract v1.9.1 Contract for Coroutine Engine
hyperf/event v3.1.15 an event manager that implements PSR-14.
hyperf/exception-handler v3.1.15 Exception handler for hyperf
hyperf/filesystem v3.1.15 flysystem integration for hyperf
hyperf/framework v3.1.15 A coroutine framework that focuses on hyperspeed and flexible, specifically use for build m...
hyperf/guzzle v3.1.15 Swoole coroutine handler for guzzle
hyperf/helper v3.1.15 A functionhelper package that could help developer solved the problem quickly.
hyperf/http-message v3.1.15 microservice framework base on swoole
hyperf/http-server v3.1.15 A HTTP Server for Hyperf.
hyperf/ide-helper v3.1.15 IDE help files for Hyperf.
hyperf/logger v3.1.15 A logger component for hyperf.
hyperf/macroable v3.1.15 Hyperf Macroable package which come from illuminate/macroable
hyperf/memory v3.1.15 An independent component that use to operate and manage memory.
hyperf/model-cache v3.1.15 A model cache component for hyperf.
hyperf/model-listener v3.1.15 A model listener for Hyperf.
hyperf/pipeline v3.1.15 Hyperf Macroable package which come from illuminate/pipeline
hyperf/polyfill-coroutine v3.1.0 This component provides features added short functions.
hyperf/pool v3.1.15 An independent universal connection pool component.
hyperf/process v3.1.15 A process component for hyperf.
hyperf/redis v3.1.15 A redis component for hyperf.
hyperf/serializer v3.1.15 A serializer component for Hyperf.
hyperf/server v3.1.15 A base server library for Hyperf.
hyperf/signal v3.1.15 A signal library for Hyperf.
hyperf/stdlib v3.1.0 A stdlib component for Hyperf.
hyperf/stringable v3.1.13 Hyperf Stringable package which come from illuminate/support
hyperf/support v3.1.15 A support component for Hyperf.
hyperf/tappable v3.1.15 Hyperf Macroable package which come from illuminate/tappable
hyperf/testing v3.1.15 Testing for hyperf
hyperf/translation v3.1.0 An independent translation component, forked by illuminate/translation.
hyperf/utils v3.1.0 A tools package that could help developer solved the problem quickly.
hyperf/validation v3.1.15 hyperf validation
hyperf/view v3.1.15 A view library for Hyperf.
hyperf/view-engine v3.1.15
hyperf/websocket-server v3.1.16 A websocket server library for Hyperf.
sy-records/think-template v2.0.11 use think template engine for hyperf.
swoole
Swoole => enabled
Author => Swoole Team <team@swoole.com>
Version => 5.0.3
Built => Nov 10 2023 03:11:11
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
spinlock => enabled
rwlock => enabled
openssl => OpenSSL 3.1.4 24 Oct 2023
dtls => enabled
http2 => enabled
json => enabled
curl-native => enabled
pcre => enabled
c-ares => 1.19.1
zlib => 1.2.13
brotli => E16777225/D16777225
mutex_timedlock => enabled
pthread_barrier => enabled
async_redis => enabled
coroutine_postgresql => enabled
Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608
Description:
本次升级了3.1以后,oss上传文件报错,
The text was updated successfully, but these errors were encountered:
报错Hyperf\Flysystem\OSS\Adapter不存在,
代码如下
class AliyunOssAdapterFactory implements AdapterFactoryInterface
{
public function make(array $options)
{
if (Version::isV2()) {
return new Adapter($options);
}
return new OssAdapter($options);
}
}
Execute the command and paste the result below.
Command:
uname -a && php -v && composer info | grep hyperf && php --ri swoole
Description:
本次升级了3.1以后,oss上传文件报错,
The text was updated successfully, but these errors were encountered: