So I installed the pecl oauth module locally, and it all works perfectly. I then tried to do this for the production server but ran into some problems.
If I say sudo pecl install oauth, I get this error:
No releases available for package "pecl.php.net/oauth"
install failed
So I figure I have to update pecl.php.net, so I try the command sudo pecl channel-update pecl.php.net
, but then I get this output:
Updating channel "pecl.php.net"
Channel "pecl.php.net" is not responding over http://, failed with message:
Connection to 'pecl.php.net:80' failed: Connection refused
Trying channel "pecl.php.net" over https:// instead
Cannot retrieve channel.xml for channel "pecl.php.net" (Connection to `pecl.php.net:443' failed: Connection refused)
Any ideas?
The module will be installed in /usr/lib64/php/modules/ as /usr/lib64/php/modules/uploadprogress.so.
PECL (PHP Extension Community Library) is a spin-off of PEAR, and is primarily used to house groups of functions that are no longer bundled with the default installation of PHP. As of PHP 5, these extensions can be downloaded and installed separately from the regular PHP download.
Ok, I figured out a way around it. You set up a proxy, but not the normal export http_proxy: way. Here's the command:
sudo pear config-set http_proxy http://username:password@yourproxy:yourport
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With