Find the answer to your Linux question:
Results 1 to 3 of 3
hi everuybody, I installed php with source(configure,make,install) Now I want to install new version of php. How to uninstall the old version. I am using the following command #make uninstall ...
  1. #1
    Linux Newbie
    Join Date
    Jul 2004
    Posts
    143

    uninstall php



    hi everuybody,

    I installed php with source(configure,make,install)
    Now I want to install new version of php.

    How to uninstall the old version.

    I am using the following command

    #make uninstall
    It is giving the following error.

    NO RULE TO MAKE TARGET STOP

    pls help me how to unistall

    thanks inadvance
    mummaneni

  2. #2
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,043
    Well, you could check the install target in your makefile and see which files get installed where, then remove them. Or add an uninstall target in the makefile to do it for you.

  3. #3
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Ft. Polk, LA
    Posts
    796
    Don't worry about uninstalling the old version. The new one will install over the old one, replacing it. If you gave configure the same prefix, anyway.

    Though if you are really worried about uninstalling it, then remove the executables from bin/ , there are 4 starting with php. Also remove the directories include/php and lib/php from whererver it's installed to.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •