gpt4 book ai didi

php - 亚马逊 PHP SDK 最少文件

转载 作者:行者123 更新时间:2023-12-04 05:43:51 25 4
gpt4 key购买 nike

我正在使用 Amazon SDK for PHP ,提取时略大于 2MB。我只需要 S3 的功能。

是否可以仅从 SDK 中提取 S3 所需的文件并使用这些文件?如果是这样,我需要哪些文件?

谢谢

最佳答案

这是来自 AWS 论坛的几乎官方的答案:

Hey! This is a feature we've been thinking about better supporting in the future, but right now, there is no official or supported way to do this. That said, I think you might be able to get away with keeping the following files for using only S3: lib/cachecore/* lib/dom/* lib/requestcore/* sdk.class.php services/s3.class.php utilities/* You could also delete a few more items out of the of the utilities directory like the hadoop ones, manifest, stacktemplate, and stepconfig.

I successfully made a list_buckets call with just these files, but obviously you are going to want to test all of your API calls to make sure that they work and that you aren't missing any dependencies that I might have overlooked. Good luck.

关于php - 亚马逊 PHP SDK 最少文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10933917/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com