How to enable curl in nginx
<p>I'm using Ubuntu 14.04 LTS, PHP 5.5.9 and Nginx.</p>

<p>I already installed the newest <code>php5-curl</code> version and add <code>"extension=php_curl.dll"</code> into <code>"/etc/php5/fpm/php.ini"</code>
I also restart service <code>php5-fpm</code> and <code>nginx</code>.</p>

<p>But when I run the code (<em>run at localhost on windows 10, it is still working</em>) I received the following message: </p>

<blockquote>
  <p><strong>Fatal error:</strong> Call to undefined function curl_init() in
  /usr/share/nginx ...</p>
</blockquote>

<p>Help fix it!
Thank you!</p>