I'm trying to run:
sudo pecl channel-update pecl.php.net
Because every time I try and install a package it prompts me to run this instead. But when I run those commands I get: "Registry directory is not writeable by the current user" Now this question is very similar but suggests using sudo
which I'm already doing. When I run sudo whoami
I'm getting root
. Could this be related to http://pear.php.net going down?
I had exactly the same problem (on my Mac Book), this is how I solved it:
I did a reinstall of PEAR using the following steps: http://jason.pureconcepts.net/2012/10/install-pear-pecl-mac-os-x/
After the installation of PEAR (which is bundled with PECL) my PECL commands did work again.
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