debian 卸载/安装php 安装swoole扩展
卸载现有php
apt-get autoremove php7*
find /etc -name "*php*" |xargs rm -rf
apt purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "`
编译安装php
apt install gcc make libxml2 libxml2-dev
wget http://cn2.php.net/distributions/php-7.3.3.tar.bz2
tar -xjf php-7.3.3.tar.bz2
./configure && make && make install
个人博客:cscwdxgg.github.io
微信公众号:Asz918q
微信公众号:Asz918q