I am attempting to run my first facebook php application on my small apache server. It gives error Facebook needs the CURL PHP extension.. I've added line extension=php_curl.dll in php.ini also it runs normally in phpStorm ide. However it still gives error in internet browser after i put php files into apache directory and run server by hand.

inside a new php page type:

<?php
phpinfo();
?>

inside determine which php.ini you have to edit.

Loaded Configuration File: ________ path to ini file you must edit _______

Also, make use of this page to ascertain if the server thinks curl is enabled. would you check this out line:

 cURL support   enabled

if it's not enabled after editing the ini file and restarting the net server, things rely on the way you installed php

this guide looks promising enough