Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux's method of deleting php7

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail about linux delete php7 method, Xiaobian think quite practical, so share to everyone for a reference, I hope you can read this article after harvest.

linux delete php7 method: first through the "sudo apt-get autoremove php7*" command to delete php related packages and configuration; then delete the association and clear the dept list; finally through the "dpkg -l| grep php7.0"command to check if the uninstall is clean.

Ubuntu completely removes PHP 7.0

1. Delete php related packages and configurations

sudo apt-get autoremove php7*

II. Delete association

sudo find /etc -name "*php*" |xargs rm -rf

Third, clear the dept list

sudo apt purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "`

IV. Check whether the unloading is clean (no return means the unloading is completed)

dpkg -l |grep php7.0 on linux php7 delete method to share here, hope the above content can have some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report