1.命令: sudo apt-get install php5-dev php-pear libpcre3-dev sudo pecl install oauth 2.修改配置文件: extension=oauth.so