2

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$ 
alexus
  • 3,070

1 Answers1

2

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.

Josh K
  • 12,990