Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7037649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:34:15+00:00 2026-05-28T01:34:15+00:00

I installed PHPUnit using the PEAR installer a few days ago (I also installed

  • 0

I installed PHPUnit using the PEAR installer a few days ago (I also installed Selenium RC for testing in PHP purpose). Now I want to uninstall it (also delete all related folders and files)

I ran the following command:

pear uninstall phpunit/PHPUnit

and the console displayed:

phpunit/PHPUnit not installed

I checked the PHPUnit folder, it was still there?

Was it uninstalled? I try to reinstall a new PHPUnit, but the console displayed:

No releases available for package "pear.phpunit.de/PHPUnit"

How can I reinstall it?


Here’s the output of pear list -c pear.phpunit.de:

pear list -c pear.phpunit.de

Here’s output of pear list -c pear.phpunit.de:

pear list -c pear.phpunit.de

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T01:34:15+00:00Added an answer on May 28, 2026 at 1:34 am

    I checked the PHPUnit folder, it was still there?

    That might be because of sub-components (Extensions, Framework). However you must not be concerned about that.

    To install the latest version, do the following two commands:

    > pear config-set auto_discover 1
    config-set succeeded
    
    > pear upgrade
    ...
    

    This will take some time, and will update all that is currently installed. As you have some extensions already available and the latest version of PHPUnit might require those, so update them to prevent failure in the next command:

    > pear install pear.phpunit.de/PHPUnit
    

    This should now install it:

    Did not download optional dependencies: phpunit/PHP_Invoker, use --alldeps to download automatically
    phpunit/PHPUnit can optionally use package "phpunit/PHP_Invoker" (version >= 1.0.0)
    downloading PHPUnit-3.6.7.tgz ...
    Starting to download PHPUnit-3.6.7.tgz (118,349 bytes)
    ..........................done: 118,349 bytes
    install ok: channel://pear.phpunit.de/PHPUnit-3.6.7
    

    Troubleshooting PEAR

    As you reported in comments, this did not work out. Probably pear is in a state that it does not know where top and bottom is. Time to force. First, clear the cache:

    > pear clear-cache
    reading directory C:\...\Temp\pear\cache
    0 cache entries cleared
    

    Then force channel updates:

    > pear channel-update -f pear.php.net
    Updating channel "pear.php.net"
    Update of Channel "pear.php.net" succeeded
    
    > pear channel-update -f pear.phpunit.de
    Updating channel "pear.phpunit.de"
    Update of Channel "pear.phpunit.de" succeeded
    

    Then force the phpunit install:

    > pear install -a -f phpunit/PHPUnit
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've installed pear using this guide http://t-machine.org/index.php/2008/12/28/how-to-install-pear-on-os-x-105/ In /etc/php.ini my include_path = .:/usr/local/PEAR PHPUnit
I have installed PHPUnit on Windows 7, with PHP and Pear. I have a
I have Selenium IDE/RC, and PHPUnit 3.5 (PEAR) installed, but I can't seem to
I installed PHPUnit and my Test class looks like this: require_once 'PHPUnit/Framework/TestCase.php'; class Test
Installed PEAR and followed the directions on http://www.phpunit.de/manual/current/en/installation.html : pear config-set auto_discover 1 pear
I've just installed PHPUnit and wrote a quick class which I saved to C:\PHP
I'm ultimately trying to install PEAR so I can easily install PHPUnit. I want
I'd like to use Selenium to automate a few web tasks (not for testing).
I've installed PHPUnit on my OS X Snow Leopard box using the following command:
I have installed PHPUnit by the PHPUnit Manual, Chapter 3. Installing PHPUnit , pear

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.