Closed matthewruttley closed 7 months ago
I also experienced the same thing, does anyone know how to fix it?
Our test applications worked great until these updates.
Now we get a PHP fatal error: Fatal error: Uncaught Error: Call to undefined function curl_init()
Was curl removed from the PHP function?
Hi folks. I am currently investigating it.
Hi again. Please upgrade to latest versions, it should work properly.
vercel-php@0.6.1
- Node 18.x / PHP 8.2.x (https://example-php-8-2.vercel.app)vercel-php@0.5.4
- Node 18.x / PHP 8.1.x (https://example-php-8-1.vercel.app)vercel-php@0.4.3
- Node 18.x / PHP 8.0.x (https://example-php-8-0.vercel.app)vercel-php@0.3.5
- Node 18.x / PHP 7.4.x (https://example-php-7-4.vercel.app)Hi @f3l1x thanks for looking into this. It is now working. How can I be aware of breaking changes like this in the future?
I am not 100% sure how to avoid it. I am trying my bests. :-)
Bug report
Description
(x-posted from here: https://github.com/orgs/vercel/discussions/5498)
On a simple hobby site I run, I had a working vercel-php installation (see below for redacted version). This was totally fine and last deployed about 50 days ago, worked very well. I tried to push a small text update, and now all builds fail with:
Error: Please install npm before continuing
I've tried adding
"installCommand": "npm install"
to the json, and also explicitly adding an overridenpm install
in the project settings, but neither work, just the same error.This is super annoying and unexpected. I don't see any recent change in the changelogs that could have caused this as well so perhaps its something related to vercel.com. However I thought it worth asking here as well. How can I fix this?
(the doc link provided on the last line isn't helpful at all - just says I need NPM, but not how to make sure it is included further than the attempts I've mentioned above)