Skip to content

base64_encode memory limit #478

@alimuzzaman

Description

@alimuzzaman

https://wordpress.org/support/topic/stateless-max-size-upload/

stateless max size upload

Hello,

With the plugin WP Stateless, I am triing to upload file bigger than 70Mb.
I desactivate all plugin. The ini.php file is set to accept upload up to 128MB.
I can upload on my server (wp-content folder) files until 128MB when the plugin is desactivate.
But with WP Stateless I have a limit of 70MB, if the file is more heavy than 70MB I can not upload the file.
On my logs I have this error :
2020/04/16 16:55:27 [error] 6032#6032: *208007 FastCGI sent in stderr: “PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 97769512 bytes) in /www/mywebsite_842/public/wp-content/plugins/wp-stateless/lib/Google/src/Google/Http/MediaFileUpload.php on line 247” while reading response header from upstream, client: 80.215.246.220, server: http://www.mywebsite.center, request: “POST /wp-admin/admin-ajax.php HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.4-fpm-mywebsite.sock:”, host: “modelmono.mywebsite.center”, referrer: “https://modelmono.mywebsite.center/wp-admin/upload.php”

Is there a limit on the plugin for a file size ?
Do you have an idea about how to fix this issue?
Thank you very much if you can help.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions