How to delete php7 from centos7:
(Recommended tutorial:php video tutorial)
1. First find out the installed php package;
[root@xxx php-memcached]# rpm -qa | grep php php70w-common-7.0.33-1.w7.x86_64 php70w-devel-7.0.33-1.w7.x86_64 php70w-7.0.33-1.w7.x86_64 php70w-cli-7.0.33-1.w7.x86_64
(Related recommendation:php training)
2. Then uninstall them all.
rpm -e php70w-7.0.33-1.w7.x86_64 rpm -e php70w-devel-7.0.33-1.w7.x86_64 rpm -e php70w-cli-7.0.33-1.w7.x86_64 rpm -e php70w-common-7.0.33-1.w7.x86_64
The above is the detailed content of How to delete php7 from centos7. For more information, please follow other related articles on the PHP Chinese website!