Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I compiled my php and installed (i use centos 5.3) and now i want to remove it, how can i do it?

share|improve this question

2 Answers 2

up vote 0 down vote accepted

normaly if you self compile you can give an option named --prefix=PREFIX to the configure script. If you did something like this,

configure --prefix=/usr/local/php

than everything is install under /usr/local/php

Normally if you do not give any options, Software is installed under /usr/local. There in lib, bin, sbin, etc ... You have do delete everything which belongs to the package by hand.

Next time take care about the --prefix. If you had used it, you only need to remove the basedir given to prefix and eveything is gone.

share|improve this answer

Try sudo make uninstall in the same directory where you did make install :) Some Makefiles do support it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.