This article mainly introduces CentOS7 php to install amqp extension. It has certain reference value. Now I share it with everyone. Friends in need can refer to it.
After installing rabbitmq, install the latest php amqp extension.
http://www.cnblogs.com/8000cabbage/p/7788575.html
##Reference: carson1. Installation rabbitmq-chttps://github.com/alanxz/rabbitmq-c/releases Install the latest version //The downloading process may take a long timeOfficial website: http://pecl.php.net/package/amqp
##Download the latest version
vi /usr/local/php/etc/php.ini
Add
extension =
/usr/local/php/ lib/php/extensions/no-debug-non-zts-20151012/amqp.so
systemctl restart php-fpm
##View phpinfo()Click to open the link
Related recommendations:
CentOs7 to build a PHP environment
The above is the detailed content of CentOS7 php install amqp extension. For more information, please follow other related articles on the PHP Chinese website!