如何避免php.ini upload_max_filesize?

发布于 2025-02-03 09:28:46 字数 116 浏览 2 评论 0原文

我正在尝试上传比PHP.ini中配置的upload_max_filesize更大的文件 有什么方法可以避免upload_max_filesize。 我正在使用plupload.js将文件上传到Google Drive。

I am trying to upload a larger file than the upload_max_filesize configured in the php.ini
Is there any way to avoid the upload_max_filesize.
I am using plupload.js to upload files to Google Drive.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

多像笑话 2025-02-10 09:28:46

您可以尝试将.user.ini放入上传脚本以下内容的目录中。

upload_max_filesize = 100M
post_max_size = 100M

在这里,我使用的是100m,但您可能不需要那么多。

You can try putting .user.ini in your directory where upload script is located with following content.

upload_max_filesize = 100M
post_max_size = 100M

Here I am using 100M but you may not need that much.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文