赞
踩
1.先禁用apache
sudo systemctl disable --now apache2
2.安装nginx,php7.4-fpm 及其他扩展
apt install nginx php7.4-fpm php7.4-dev php-pear php7.4-mysql php7.4-curl php7.4-json php7.4-mbstring php7.4-xml php7.4-intl
之后可以用pecl安装php扩展
栗子:
pecl install yaf
安装成功后把 extension=yaf.so 加到php.ini中
安装包地址:https://github.com/alanxz/rabbitmq-c/releases
- wget -c https://github.com/alanxz/rabbitmq-c/releases/download/v0.8.0/rabbitmq-c-0.8.0.tar.gz
-
- tar zxf rabbitmq-c-0.8.0.tar.gz
-
- cd rabbitmq-c-0.8.0
-
- ./configure --prefix=/usr/local/rabbitm
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。