Knowledgebase
how to install oauth php component in whm/cpanel?
Posted by akasharya, 11-01-2010, 07:31 AM | I am trying to install oauth module for php on cpanel/whm with centos 5.X using these commands.
1. pecl install oauth
but it fails
2. using cpanel. software service> pear.
it also fails
3. using WHM software>Module installer> php-pecl
but it also fails and getting errors.
few lines are
/usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected specifier-qualifier-list before 'pcre'
/root/tmp/pear/oauth/oauth.c: In function 'oauth_http_build_query':
/root/tmp/pear/oauth/oauth.c:562: warning: dereferencing type-punned pointer will break strict-aliasing rules
make: *** [oauth.lo] Error 1
ERROR: `make' failed
The oauth.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20060613
|
Posted by care4server, 11-01-2010, 03:42 PM | try this from server 1st
/scripts/checkperlmodules --full
for better measure also /scripts/upcp
and then try installing the oauth from whm
|
Posted by akasharya, 11-02-2010, 12:37 AM | Thanks for reply.What does this script do? this script seems to check all perl related modules but oauth is a php pecl module.
|
|
Add to Favourites
Print this Article |
Also Read
Tektonic..... (Views: 698)