How to remove php compiled by source from mac os x mavericks

Recently, I wanted to upgrade my php on mac from 5.4 to 5.5 [latest version], I did it successfully with php-osx [ http://php-osx.liip.ch/] one line installation.

But however, in the terminal, when I did php -v, I could see an older version, and then tried to remove the php installed by phposx after their removal method.

Later I felt that I needed to compile php from the source. I went on php.net and downloaded 5.5, tar -zxvf, ./configure, make, sudo make install.

Now it seems to me that I'm going crazy since I have an older version when I release php -v, also in /usr/local/bin/php -vis version 5.5, and some packages installed with php-osx are still available.

I need help uninstalling php compiled from the source code, and also completely remove some packages that are installed using php-osx so that I just install this latest version from a single line installer php-osxand then just symlink it.

Thanks in advance!

+4
source share

All Articles