SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Thread: Uninstall PHP

  1. #1
    SitePoint Member
    Join Date
    Dec 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Uninstall PHP

    The answer to this may be obvious to you experienced people, but it isn't obvious to me. How do I uninstall PHP, it doesn't show up in the Programs Control panel list?

  2. #2
    SitePoint Member
    Join Date
    Dec 2010
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The answer depends on how you "installed" PHP in the first place!

  3. #3
    SitePoint Member
    Join Date
    Dec 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It was installed as an individual package, NOT WAMP.

  4. #4
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    You just delete it, there is no "uninstall"
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  5. #5
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,235
    Mentioned
    154 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by logic_earth View Post
    You just delete it, there is no "uninstall"
    True, but you may need to remove any associations with IIS or Apache so when you reboot either server you don't get an error due to a missing DLL reference.

  6. #6
    SitePoint Member
    Join Date
    Dec 2010
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Few possibilities:

    - If you used a MSI installer, run it again. I will probably ask you to "repair" or "uninstall" the product. Choose "uninstall".
    - Look in the "add/remove programs" section.


    If you absolutely have to uninstall it the hard way:

    - Remove PHP script maps for each website from IIS (the process varies depending on IIS version)
    - Restart IIS
    - Delete the PHP directory

  7. #7
    SitePoint Member
    Join Date
    Dec 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks everyone.

  8. #8
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Also check and see if you still have a php.ini file lying around -- remove it in case you do another install in the future.

    From memory you may also need to remove references to PHP in your $PATH directive ... sorry, I cannot remember the exact way to do that on win/IIS, but I can remember having to set it more than a few times. (My Computer / System Properties / Environment Variables maybe?)

    In order to get mysql_* functions working you possibly have moved mysql.dll (or some similar named dll) into /Windows/system32 folders or similar, depending on your win version.


Bookmarks

Posting Permissions

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