Undefined constant CURLOPT_IPRESOLVE laravel Authy?

Good afternoon, decided to connect to Authy Laravel 5.7, I get this error in /vendor/authy/php/lib/Authy/AuthyApi.php.
"Use of undefined constant CURLOPT_IPRESOLVE - assumed 'CURLOPT_IPRESOLVE'"

5bbe01c0ee216757581992.png

Any help would be appreciated.

18.4 Ubuntu, nginx
March 12th 20 at 08:08
1 answer
March 12th 20 at 08:10
Open Doc PHP, reading — "Added in cURL 7.10.8.". What do you cURL? What does Laravel and Nginx?
@Kirk.Padberg47 thanks for the reply, I didn't popisoval cURL error get /vendor/authy/php/lib/Authy/AuthyApi.php where I nothing changed, maybe I do not pony? - angelo_Dani commented on March 12th 20 at 08:13
@angelo_Dani, know what is cURL and what it is not necessary to "propionate"? If not, Google will help. - Kirk.Padberg47 commented on March 12th 20 at 08:16
@Kirk.Padberg47, sorry not understood you correctly, curl 7.58.0 - angelo_Dani commented on March 12th 20 at 08:19
@angelo_Dani, great, problem found. - Kirk.Padberg47 commented on March 12th 20 at 08:22
@Kirk.Padberg47, you need to update? - angelo_Dani commented on March 12th 20 at 08:25
@angelo_Dani, obviously. - Kirk.Padberg47 commented on March 12th 20 at 08:28
@Kirk.Padberg47, updated, now curl 7.61.1, but the error remained. - angelo_Dani commented on March 12th 20 at 08:31
@angelo_Dani, so somewhere out there not updated. Or do you think that this larabel so bad, the constant was stolen? PHP try to update if there are more recent versions. - Kirk.Padberg47 commented on March 12th 20 at 08:34
@Kirk.Padberg47, I think there is a problem which I cannot solve, PHP 7.2.10, do you have other suggestions? - angelo_Dani commented on March 12th 20 at 08:37
@angelo_Dani, for example, a PHP in the console and the web server can be different versions, I don't know what spin you are working with. Output to the browser phpinfo() and learn. - Kirk.Padberg47 commented on March 12th 20 at 08:40

Find more questions by tags PHP