Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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$ 
share|improve this question

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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