Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Coola's avatar
Level 1

Google Cloud Storage uploading large files

My Laravel application is deployed using Google App Engine and uses Google Cloud Storage.

I am using the Superbalist / laravel-google-cloud-storage package to do my uploads and had a question for how to try to upload large files.

I am trying to allow uploads which are large (>50mb) however, I get an error stating: "413. That’s an error. Your client issued a request that was too large. That’s all we know." image

I have added the following php.ini file to my root directory for upload to my app engine instance

upload_max_filesize = "256M"
post_max_size = "257M"

and this does increase both parameters on my instance: image image

So how can I allow files which are larger to be uploaded? Sorry if this question is naive but I am a beginner with cloud technologies.

0 likes
0 replies

Please or to participate in this conversation.