#Whip
1 messages · Page 1 of 1 (latest)
hi! sounds like your server's installation of libcurl is probably corrupt
I thought I'd update the stripe api but when running composer update , that gave me this error
Problem 1
- Root composer.json requires stripe/stripe-php ^7.103 -> satisfiable by stripe/stripe-php[v7.103.0, ..., v7.128.0].
- stripe/stripe-php[v7.103.0, ..., v7.128.0] require ext-curl * -> it is missing from your system. Install or enable PHP's curl extension.
Of course curl is installed on my system but just to double check, here's the screenshot from phpinfo
sounds like
Install or enable PHP's curl extension.
is the right direction to head in, that does seem like the problem
Should I install curl again?
I did
apt-get remove php8.1-curl
apt-get install php8.1-curl
systemctl restart apache2
No change
I'm gonna try restarting the server.
Nope, didn't work. I'm wondering what changed
Does anyone else administer this system on your behalf?
No
MInor updates install automatically. My system is Ubuntu 20.04
root@primary:~# php --ri curl
Extension 'curl' not present.
root@primary:~# apt-get install php8.1-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
php8.1-curl is already the newest version (8.1.13-1+ubuntu20.04.1+deb.sury.org+1).
Looks like there's some issue with my system, not a problem with stripe
Yea i think you need to ensure the curl dependency is met -- we fully depend on that
If you're curious, I changed the php version of this site to 8.2 from 8.1. Curl was not installed on this version. This was weird
Since the site was on 8.1, it was supposed to use 8.1-curl but its looking for 8.2-curl 🤷♂️
Ahh interesting -- not entirely sure how that works either. It's been... a while since I administered a php server 😓