Fatal error: Call to undefined function curl_init()
Most of the people i found from blog are suggested me not to use Installer for apache. They suggested me to download the separates binaries for Apache and Curl, and then install them. I tried, and according to them I kept the "libeay32.dll" and "ssleay32.dll" into the apache directory, inside php directory, and inside the windows directory. But nothing worked.
Finally I gave a last try and It worked. From one forum, an expert suggested me to download the latest version of EasyPHP(EasyPHP 2.0b1, an open source application http://www.softpedia.com/get/Authoring-tools/Setup-creators/EasyPHP.shtml). Below is how you have to do to setup curl with Easyphp.
** Run the exe for Easyphp from program files. You'll find an icon at system tray. right click the icon then click Configuration, then click PHP Extension. See the image below.
** Now you'll find few extension for your apache/php. Just select the php_curl extension and click apply button and restart your apache.
Write the below php code and browse from your browser to check whether it working or not. By the way, you have to keep the php script inside the "www" folder.
$ch = curl_init();
print "WOW no error!!! Curl installed successfully..";
I think you shouldn't face any problem from now to use the Curl with your php script. Its a single click installation process. I have posted another topic related to setting up cgi for Perl/Python script at http://icfun.blogspot.com/2008/04/easiest-way-to-configure-perlpython.html