1、命令行运行yum install php-cli php-process git gcc php-devel php-pear libevent-devel
2、命令行运行pecl install channel://pecl.php.net/libevent-0.1.0 提示libevent installation [autodetect]: 时按回车
3、命令行运行echo extension=libevent.so > /etc/php.d/libevent.ini
这三句谁帮忙翻一下 。。 有什么作用
1、命令行运行yum install php-cli php-process git gcc php-devel php-pear libevent-devel
使用yum安装(yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及SUSE中的Shell前端软件包管理器。基於RPM包管理,能够从指定的服务器自动下载RPM包并且安装)
php-cli
php-process
git
gcc
php-devel
php-pear
libevent-devel
软件包
2、命令行运行pecl install channel://pecl.php.net/libevent-0.1.0 提示libevent installation [autodetect]: 时按回车
安装libevent-0.1.0
3、命令行运行echo extension=libevent.so > /etc/php.d/libevent.ini
添加libevent 扩展到php
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号