{"id":1078,"date":"2010-11-08T20:44:24","date_gmt":"2010-11-08T19:44:24","guid":{"rendered":"http:\/\/t-machine.org\/?p=1078"},"modified":"2010-11-08T20:44:42","modified_gmt":"2010-11-08T19:44:42","slug":"wordpress-note-curl-curl","status":"publish","type":"post","link":"http:\/\/new.t-machine.org\/index.php\/2010\/11\/08\/wordpress-note-curl-curl\/","title":{"rendered":"WordPress note: Curl != Curl"},"content":{"rendered":"<p>Gah. The world of PHP modules is a horrid mess. And sites going OAuth-compulsory are highlighting of late just how much so&#8230; <\/p>\n<p>I just had a plugin fail, with no error message, even though I had it all installed correctly, and all pre-requisites.<\/p>\n<p>After much messing about (much wasted time), it turns out that this plugin needs:<\/p>\n<ol>\n<li>libcurl (which is not the same as curl)\n<li>php5-libcurl (which is not the same as libcurl)\n<\/ol>\n<p>So &#8230; when a WP module claims it needs &#8220;curl&#8221;, it could mean any of three things. I knew about the first two, but not the third. Even if it says it needs &#8220;libcurl&#8221; that&#8217;s still not specific enough.<\/p>\n<p>In this case, the WP module embedded a 3rd-party OAuth module that used &#8220;the other libcurl&#8221; &#8211; so it needed *both* of them. Ha!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gah. The world of PHP modules is a horrid mess. And sites going OAuth-compulsory are highlighting of late just how much so&#8230; I just had a plugin fail, with no error message, even though I had it all installed correctly, and all pre-requisites. After much messing about (much wasted time), it turns out that this [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[],"_links":{"self":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts\/1078"}],"collection":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/comments?post=1078"}],"version-history":[{"count":0,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts\/1078\/revisions"}],"wp:attachment":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/media?parent=1078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/categories?post=1078"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/tags?post=1078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}