Ubuntu 14.04 PHP PECL Oauth error

oauth, php, quickbooks-online, ubuntu

Solution

sudo apt-get install php5-oauth

Problem

Trying to integrate a PHP application with Quickbooks and the Quickbooks SDK says it needs PECL Oauth. I have Ubuntu 14.04 and get this error when I try to install Oauth. ``` sudo pecl install oauth downloading oauth-1.2.3.tgz ... Starting to download oauth-1.2.3.tgz (45,531 bytes) .............done: 45,531 bytes could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build- download/oauth-1.2.3.tgz" Download of "pecl/oauth" succeeded, but it is not a valid package archive Error: cannot download "pecl/oauth" Download failed install failed ``` I Googled a bit and updated my system: ``` sudo apt-get install libpcre3 libpcre3-dev sudo apt-get install php-pear php5-dev ``` but no luck there. Any ideas - this should be an easy step for Ubuntu.

Original source