How to Solve this Fetal Error

I am using sms panel to send OTP
but when I run my page in localhost
it show like this

Fatal error: Call to undefined function curl_init() in

i also  remove comment from ini file

but still it showing this fetal error
mohan singhWeb developerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
After enabling the curl extension in PHP.ini did you restart your HTTP server?
mohan singhWeb developerAuthor Commented:
yes  I did
Julian HansenCommented:
If you create this script

Open in new window

and run it - search for curl in the results - what do you see?
This is what I see
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

mohan singhWeb developerAuthor Commented:
sir what is your version

because my php version is
and there is no  cURL support

and I am using apache  Server
Julian HansenCommented:
That screen grab was done one my server running 5.6.24.

If you are not seeing a curl section in your PHP info screen then you have not done the update correctly.

Either the extension is not loaded on your computer or you are updating the wrong INI.

Here are the things to check
1. Check the location of your INI file - you can use the same PHPInfo() script above - you will find the path here
2. Check that the extension is actually on the computer
In your PHP folder look for the ext folder and check to see if the file php_curl.dll is in that folder

3. Check your Apache error log to see if there are any messages related to loading the extension.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mohan singhWeb developerAuthor Commented:
I checked my php.ini file and also changed it but still it's not working
and also change curl dll file and this file is exit in ext folder
I think there is problem in Apache
Thank you for Help  Julian Hansen
mohan singhWeb developerAuthor Commented:
Thank You Julian Hansen
Julian HansenCommented:
You are welcome.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.