Uninstalling php

A

Anonymous

Guest
lababidi said:
I am running Fedora Core 1 and have mysql 4.1.11 installed and php 4.3.8.
but when i do an rpm -qa php the php installation does not show. i want to uninstall this version of php and install a new one. every time i try and install php5 it goes through but under phpinfo(), it still shows php 4.3.8.
any help would be greatly appreciated.
do this

Code:
$ rpm -qa | grep php
you will find a list of installed php rpms,
which you need to remove by
Code:
$ rpm -e [package name]
 
Fedora Core 1 is a baad idea. You are 2 versions out, and they are very deliberate about dropping support for dated Fedora releases. You'll be fighting this one alone in the dark.
 
lababidi said:
yes i tried that. no php packages are installed. this is probably due to the fact i installed php via tarball.
so my main question i guess is how do i uninstall a tarball installation?
Try in /etc find where exactly PHP is placed and remove by hand.
 
lababidi said:
yes i tried that. no php packages are installed. this is probably due to the fact i installed php via tarball.
so my main question i guess is how do i uninstall a tarball installation?
This is the worst part of *Nix systems, if you install by that method..
if the package does not provide its default uninstall shell script...
it is really bad... you will need to all the shared objects and binary files... which were used by php
 
Back
Top