1. Command line run yum install php-cli php-process git gcc php-devel php-pear libevent-devel
2. Command line run pecl install channel://pecl.php.net/libevent-0.1.0 prompt libevent installation [AutoDetect]: Press ENTER
3. Command line run echo extension=libevent.so >/etc/php.d/libevent.ini
Who helps to turn over these three sentences? What's the effect?
Reply to discussion (solution)
1. Command line run yum install php-cli php-process git gcc php-devel php-pear libevent-devel
Using Yum installation (Yum (full name Yellow dog Updater, Modified) is a shell front-end package manager in Fedora and Redhat as well as SuSE. Based on RPM package management, can automatically download RPM package and install from specified server
Php-cli
Php-process
Git
Gcc
Php-devel
Php-pear
Libevent-devel
Package
2. Command line run pecl install channel://pecl.php.net/libevent-0.1.0 prompt libevent installation [AutoDetect]: Press ENTER
Installing libevent-0.1.0
3. Command line run echo extension=libevent.so >/etc/php.d/libevent.ini
Add libevent extension to PHP