1. run yum install php-cli php-process git gcc php-devel php-pear libevent-devel on the command line.
2. run the pecl install channel: // pecl.php.net/libevent-0.1.0 command and press enter when the prompt libevent installation [autodetect ]:
3. run echo extension = libevent. so>/etc/php. d/libevent. ini on the command line.
Who can help me with these three statements .. What is the function?
Reply to discussion (solution)
1. run yum install php-cli php-process git gcc php-devel php-pear libevent-devel on the command line.
Install using yum (all called Yellow dog Updater, Modified) is a Shell front-end package manager in Fedora, RedHat, and SUSE. Based on RPM Package management, the RPM package can be automatically downloaded and installed from the specified server)
Php-cli
Php-process
Git
Gcc
Php-devel
Php-pear
Libevent-devel
Software package
2. run the pecl install channel: // pecl.php.net/libevent-0.1.0 command and press enter when the prompt libevent installation [autodetect ]:
Install libevent-0.1.0
3. run echo extension = libevent. so>/etc/php. d/libevent. ini on the command line.
Add libevent extension to php