Uninstalling php

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

Post Reply
User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Re: Uninstalling php

Post by ruturajv » Mon May 16, 2005 9:53 pm

lababidi wrote: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: Select all

$ rpm -qa | grep php

you will find a list of installed php rpms,
which you need to remove by

Code: Select all

$ rpm -e [package name] 

sadisticmachine
New php-forum User
New php-forum User
Posts: 109
Joined: Tue Nov 02, 2004 5:33 am

Post by sadisticmachine » Wed May 18, 2005 4:30 am

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.

User avatar
WiZARD
Moderator
Moderator
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Post by WiZARD » Wed May 18, 2005 5:15 am

lababidi wrote: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.

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Post by ruturajv » Sun May 22, 2005 12:02 am

lababidi wrote: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

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests