宝塔php7.4通用拓展需要安装_宝塔环境下php7.4安装pecl,并安装event扩展

本文介绍了在宝塔环境中如何手动安装PHP7.4的PECL扩展包,并详细步骤安装event扩展。在安装过程中,需要配置PEAR路径,通过pecl命令安装event时需要注意选择选项,最后更新php.ini并重启PHP服务以启用event扩展。
摘要由CSDN通过智能技术生成

宝塔环境下的php7.4版本是默认不带pecl扩展包的。7.3带。。。。。很烦,自己弄吧。把遇到的问题记录一下

首先wget http://pear.php.net/go-pear.phar

php go-pear.phar

出现

Below is a suggested file layout for your new PEAR installation.  To

change individual locations, type the number in front of the

directory.  Type 'all' to change all of them or simply press Enter to

accept these locations.

1. Installation base ($prefix)                   : /www/server/php/74

2. Temporary directory for processing            : /tmp/pear/install

3. Temporary directory for downloads             : /tmp/pear/install

4. Binaries directory                            : /www/server/php/74/bin

5. PHP code directory ($php_dir)                 : /www/server/php/74/share/pear

6. Documentation directory                       : /www/server/php/74/docs

7. Data directory                             

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值