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
