I am developing a new project for Event Management. For that, I need to implement OTP verification for mobile numbers for those who are registering for the event. I'm using textlocal API to send OTP and I'm getting the error as above.
Asked
Active
Viewed 255 times
-2
-
Please post your code.Nobody can help you without looking at the code. – Ropali Munshi Feb 25 '20 at 04:27
-
Seems like [documentation](https://www.php.net/manual/en/curl.installation.php) can help you – Dmytro Feb 25 '20 at 05:49
1 Answers
2
In windows: in your php.ini
file and remove the comment from cURL extension
change ;extension=curl
to extension=curl
For Ubuntu:
sudo apt-get install php-curl
or
sudo apt-get install php5-curl
After you have saved the file you must restart your HTTP server software (e.g. Apache) before this can take effect.
and check into the phpinfo that your cURL extension is enabled or not

coderman401
- 582
- 3
- 17