Home >Backend Development >PHP Problem >How to uninstall php

How to uninstall php

藏色散人
藏色散人Original
2019-09-18 10:31:056925browse

How to uninstall php

How to uninstall php?

linux uninstall php

1 , Uninstall by RPM installation method

- View all RPM packages

rpm -qa |grep php

- Delete the listed php packages one by one

rpm -e --allmatches --nodeps 包名

- Check whether the uninstallation is complete

php -v

2, uninstall using yum installation method

yum remove php

For more PHP knowledge, please visit PHP tutorial!

The above is the detailed content of How to uninstall php. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn