Showing posts with label XAMP and WAMP. Show all posts
Showing posts with label XAMP and WAMP. Show all posts

Friday, December 5, 2014

CURL error code 7 in php

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.
  1. Due to wrong URL.
  2. 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/