windows安装pecl命令


在目录 D:\phpstudy_pro\Extensions\php\php7.3.4nts

打开https://pear.php.net/go-pear.phar将网页另存为go-pear.phar把这个文件复制进去

打开终端运行:php go-pear.phar

以此输入:local,yes,13

Would you like to alter php.ini <D:\phpstudy_pro\Extensions\php\php7.3.4nts\php.ini>? [Y/n] : y

输入回车,就安装完成了

pecl -v