I’ve previously written about the modules needed to run a WordPress site, or at least my site. It was a pretty basic list as I like to keep things simple. I’ve been using the Twitter Tools add-in to send a tweet whenever I post a new article to this site. Twitter began requiring OAuth authentication for apps like these and the change broke Twitter Tools for me. I finally got around to tackling the problem today.
I was receiving the message
Call to undefined function curl_init()
whenever I tested the connection to twitter. A quick visit to the support page showed I needed the curl library for PHP. The installation was straightforward:
>sudo aptitude install php5-curl
Once it was installed I needed to restart Apache so the library would be used:
>sudo /etc/init.d/apache2 restart
Then everything was just fine.