Home >Backend Development >PHP Problem >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!