Im trying to use the magento rest api, but when i load a simple script (php) apears an error, that says: "Fatal error: Class 'OAuth' not found" So i try to install the extension but when i run "pecl install oauth" the following message apears ->
Thanks for the help! : )
Code:
pecl/oauth requires PHP (version >= 7.0.0), installed version is 5.5.31
No valid packages found
install failed
The oauth.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20121212
Tidying /usr/local/lib/php.ini...
No changes
Tidying /usr/local/cpanel/3rdparty/php/54/etc/php.ini...
No changes