Curl is one of most powerful functionality in PHP. It will allow us to communicate with external URL. To use the curl functionality in your code. We must enable PHP curl module in PHP installation.
In this post, i could like to explain about curl error code "7". There are some of the criteria to get this error.
- Due to wrong URL.
- URL might have some port on postfix.
For Example: http://xx.xxx.xxx.xx:8080/
Solution : To solve this issue, we must remove the port on URL.Your URL must be like http://xx.xxx.xxx.xx/