You... can't? I'm not even sure if your question makes sense at all, but I'm guessing you want to install cURL on your server?!
If you've got WAMP or XAMPP just go in your php.ini file and delete the ; from the beginning of the ;extension=php_curl line. The above solution will only work if your intentions are to install curl on your localhost server.
If you're actually trying to compile PHP with cURL check out: http://us.php.net/manual/en/curl.installation.php
I never knew php was a compiling language or maybe I have the wrong meaning. I thought complied programms were something that run independently with all the libraries complied into the programm.
Thanks guys for replying!! Jasber, where should I specify location of lib and include direcotry? what should I exactly do to run curl functions like curl_init() etc.
Hey!!! I got it solved..now curl functions are working!!!! only thing I did that I enabled php_curl.dll by removing ; from extension = php_crul.dll. Then I restarted apache.