如何卸载已编译的php

时间:2012-10-03 19:31:15

标签: php linux makefile

我用make install安装了php。现在我转到我编译php的目录并执行make uninstall。它会抛出此错误make: *** No rule to make target 'uninstall'. stop.

发生了什么事?

Centos6

PHP 5

1 个答案:

答案 0 :(得分:9)

如果没有“卸载”目标,则无法自动卸载和删除文件。

如果幸运的话,你在100%的专用目录(例如/ opt / your / php)中构建你的php,那么卸载可能就像删除这个专用目录一样简单,因为在构建/编译时生成的所有内容都将包含在内部这个目录。