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

kel's avatar
Level 8

Connection reset putting to S3 from PHP builtin server

I'm working in PHPStorm using the PHP builtin server and getting a connection reset error when I'm trying to put an image to S3. I can do Storage::get to retrieve images from S3.

I should specify that I'm using Windows 10.

This is my code:

Storage::put($image_path, (string)Image::make($data['image'])->encode('jpg'));
0 likes
0 replies

Please or to participate in this conversation.