Fatal error: Call to undefined function curl_init()

Written by Mega Champ on June 20, 2009 – 1:03 pm -

If you are using php, apache wamp on windows vista this tip is for you.

While working on a script i was getting the “Fatal error: Call to undefined function curl_init()” error all the time. Believe me when i say, there are countless solutions been listed on net, but most of them are either old or doesn’t hold good anymore.

Here is the exact solution which worked for me :

To do away the error you have to edit your php.ini.

Go to path : C:\wamp\bin\apache\apache2.2.8\bin
find php.ini file
open it
find the line ;extension=php_curl.dll
remove the “;’ from the line, so in the end it will look like this
extension=php_curl.dll

restart apache/wamp and you are good to go.

Let me know if are still facing the problem. Although for sure you shouldn’t after the above steps :-)


Tags: , ,
Posted in Coding | 3 Comments »

Create Your Own Website Stat Analytics Application

Written by Mega Champ on June 17, 2009 – 9:03 am -

Remember earlier how was I talking about applying your coding skills to online and make the world go round. On the similar lines I came across a  excellent article on digg, which teaches you how to come up with your own stat application, something like google analytics.

So the question lies why would you do that, if you are already using google analytics or some other stat program. Well all I can say the if you are building your own thing, there are 100′s of possibilities to modify it to suits your needs and use it to enhance your business. Sometimes there are so many things or info you don’t want to see about website. You are just looking for something in particular and remember keeping a microscopic eye on your online business can/will take you places.

Do check out the article at link


Tags: , ,
Posted in Random Cool Stuff | No Comments »