How To Install php-pda-pheanstalk on CentOS 7
Introduction
In this tutorial we learn how to install php-pda-pheanstalk
on CentOS 7.
What is php-pda-pheanstalk
Pheanstalk is a pure PHP 5.3+ client for the beanstalkd workqueue [1]. It has been actively developed, and used in production by many, since late 2008. Created by Paul Annesley [2], Pheanstalk is rigorously unit tested and written using encapsulated, maintainable object oriented design. Community feedback, bug reports and patches has led to a stable 1.0 release in 2010, a 2.0 release in 2013, and a 3.0 release in 2014. Pheanstalk 3.0 introduces PHP namespaces, PSR-1 and PSR-2 coding standards, and PSR-4 autoloader standard. beanstalkd up to the latest version 1.4 is supported. All commands and responses specified in the protocol documentation for beanstalkd 1.3 are implemented. Autoloader [1] http [2] http
We can use yum
or dnf
to install php-pda-pheanstalk
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install php-pda-pheanstalk.
Install php-pda-pheanstalk on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install php-pda-pheanstalk
using yum
by running the following command:
Install php-pda-pheanstalk on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install php-pda-pheanstalk
using dnf
by running the following command:
How To Uninstall php-pda-pheanstalk on CentOS 7
To uninstall only the php-pda-pheanstalk
package we can use the following command:
References
Summary
In this tutorial we learn how to install php-pda-pheanstalk
on CentOS 7 using yum
and dnf
.