One thing to keep in mind is that while you appear to have functionality at this time, it is not recommended to use outdate versions of PHP Extensions, especially when you are on the Latest Stable Version of the 8.0.x branch
Just to try and figure out the versions we are dealing with here, what is the output that you get in the shell if you use the command
php -i | grep -i curl
Which one once of my servers outputs the following:
sysadmin@mail:~$ php -i | grep -i curl
/etc/php/8.1/cli/conf.d/20-curl.ini,
curl
cURL support => enabled
cURL Information => 7.68.0
curl.cainfo => no value => no value
Just my 2 cents here.