php icon indicating copy to clipboard operation
php copied to clipboard

node 20 and 22 curl wont work

Open nadar opened this issue 11 months ago • 1 comments

I use the latest version [email protected] and it seems that curl only works with node 18, not 20 and 22 which are available (and enabled by default) on vercel.

nadar avatar May 08 '25 11:05 nadar

Hi, thank you for report. I need to check it.

f3l1x avatar May 31 '25 14:05 f3l1x

@f3l1x since vercel now official deprecated node 18, i think this is a urgent issue 🥵

sorry for the bump and thanks for taking time, we all appreciate your work.

nadar avatar Jul 16 '25 20:07 nadar

Hi @nadar, can you test new version 0.7.4 for PHP 8.3?

I have updated underlying libphp for Node 22.

These all versions are redeployed on Node 22.

https://example-php-7-4.vercel.app/ https://example-php-8-0.vercel.app/ https://example-php-8-1.vercel.app/ https://example-php-8-2.vercel.app/ https://example-php-8-3.vercel.app/

f3l1x avatar Jul 17 '25 20:07 f3l1x

Hi @nadar, can you test new version 0.7.4 for PHP 8.3?

I have updated underlying libphp for Node 22.

These all versions are redeployed on Node 22.

it works! and, please modify the node version in 'package.json' file.

qkqpttgf avatar Jul 18 '25 01:07 qkqpttgf

What version @qkqpttgf? There is no node version in package.json right now.

f3l1x avatar Jul 18 '25 05:07 f3l1x

What version @qkqpttgf? There is no node version in package.json right now.

line 38 in package.json: "@types/node": "18.19.18",

qkqpttgf avatar Jul 19 '25 06:07 qkqpttgf

@f3l1x afaik everything works as expected. thank you so much for your time, we really love what you do here for the php community!

nadar avatar Jul 27 '25 12:07 nadar

@nadar Thank you. Can you share some projects where are you using vercel php?

f3l1x avatar Jul 27 '25 12:07 f3l1x