Cannot install, php_dir for channel “pecl.php.net” is not writeable by the current user

切换到root用户执行pecl命令,当前用户没有php程序目录的写入权限