猫言猫语

严以律己·宽以待人·自强不息·知行合一

macOS Mojave 手动安装 php-pecl-amqp

| macOS Mojave 手动安装 php-pecl-amqp已关闭评论

git clone https://github.com/pdezwart/php-amqp.git
cd php-amqp
phpize
./configure --with-librabbitmq-dir=/usr/local/Cellar/rabbitmq-c/0.9.0
make
make install
vi /usr/local/etc/php/7.3/conf.d/ext-amqp.ini
extension="amqp.so"

评论已关闭。