Uninstalling php

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

lababidi
New php-forum User
New php-forum User
Posts: 2
Joined: Sat May 14, 2005 8:00 am

Uninstalling php

Postby lababidi » Sat May 14, 2005 8:04 am

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.

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

Postby 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]

lababidi
New php-forum User
New php-forum User
Posts: 2
Joined: Sat May 14, 2005 8:00 am

Postby lababidi » Tue May 17, 2005 6:59 am

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?

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

Postby 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: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Postby 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:

Postby 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


Return to “PHP Installation”

Who is online

Users browsing this forum: No registered users and 1 guest