Azure / azure-storage-php

Microsoft Azure Storage Library for PHP
MIT License
217 stars 198 forks source link

blob upload error when upgrade php version from 5.6 to 7.4 #331

Open stonezhang2022 opened 2 years ago

stonezhang2022 commented 2 years ago

Which service(blob, file, queue, table) does this issue concern?

Blob

Which version of the SDK was used?

1.5.3

What's the PHP/OS version?

PHP 7.4

What problem was encountered?

When upgrade PHP from 5.6 to 7.4, can not upload file to blob and met this error: 1111

stonezhang2022 commented 2 years ago

@spaze @XiaoningLiu Could you please share your comments on this issue? thank you!

spaze commented 2 years ago

@spaze @XiaoningLiu Could you please share your comments on this issue? thank you!

I don't know, we've been using Blob (but not uploads I think) on PHP 7.4 (now on PHP 8.1) without any problems (well, after patching this seemingly unsupported lib, of course). "Could not resolve host" points to some other issue, like DNS resolver problems.

danielpotentor commented 1 year ago

Hi @stonezhang2022 what do you need to upload files with php 5.6? or how to do it?

pimjansen commented 1 year ago

Hi @stonezhang2022 what do you need to upload files with php 5.6? or how to do it?

Dont try to even so this. PHP 5.6 support dropped more then 4 years ago.

You should really upgrade to a minimal 8.0 but since this ends in nov 2023 i guess 8.1 or 8.2 are the safest options