how to check curl is enabled or disabled in php

how to check curl is enabled or disabled in php

In this article, we will know you how to check curl is enabled or disabled in PHP. we will give a simple example of a check if curl is available on the server.

When we call the rest API using curl that time we need to check curl is enabled or disabled. so you can see our PHP curl example.