I'm trying to install a php extension through pecl and I'm getting some weird errors... any ideas?

wcmisdpilotpc1:~ alexus$ sudo pecl install oauth
Password:

Notice: Array to string conversion in PEAR/REST/10.php on line 85

Warning: Invalid argument supplied for foreach() in PEAR/REST/10.php on line 88

Warning: Invalid argument supplied for foreach() in /usr/lib/php/PEAR/REST/10.php on line 88

Fatal error: Cannot use string offset as an array in /usr/lib/php/PEAR/REST/10.php on line 256
wcmisdpilotpc1:~ alexus$ 
link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

You are getting PHP errors, and I believe those are coming directly from PEAR itself, not the extension you are trying to download.

You could always try installing the extension manually.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.