Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to uninstall CLI PHP5

    Sorry for posting so close together, however, I accidentally did "emerge -av php"

    This installed the cli version of php5 and I can't figure out how to set it up in apache2.

    How do I uninstall PHP? (or at least, I added -D PHP but I don't know where to add, AddType .php so that apache2 will execute it)

  2. #2
    I just figured out that I can do:
    emerge -av unmerge php

    However, I can't get this command to work (no ebuilds to satisfy)
    USE="cli apache2" emerge '=dev-lang/php-4*'

    Basically my problem is I needed to add the apache2 USE flag the first time I emerge'd PHP, however I prefer coding in PHP4 so now I know how to get it, but it isn't working lol.

    I have been following steps in:
    Gentoo Linux Documentation -- Upgrading PHP

Posting Permissions

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