title: Notice: Use of undefined constant CURL_IPRESOLVE - assumed 'CURL_IPRESOLVE'
body: <p>I have 2 IP address on my dedicated server</p>
  
  <blockquote>
    <ol>
    <li>ipv4</li>
    <li>ipv6</li>
    </ol>
  </blockquote>
  
  <p>i m trying to use ipv6 on CURL, below are code using on curl.</p>
  
  <pre><code>curl_setopt($ch, CURL_IPRESOLVE, CURL_IPRESOLVE_V4);
  </code></pre>
  
  <p>or</p>
  
  <pre><code>  curl_setopt($ch, CURL_IPRESOLVE_V4, true); 
  </code></pre>
  
  <p>but i got below error </p>
  
  <pre><code>Notice: Use of undefined constant CURL_IPRESOLVE - assumed 'CURL_IPRESOLVE' in /home/admin....... line 14
  </code></pre>