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 7792543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:13:03+00:00 2026-06-01T22:13:03+00:00

Current I am trying to install phpunit on my mac os x and mamp

  • 0

Current I am trying to install phpunit on my mac os x and mamp server:

pear config-set auto_discover 1
pear install pear.phpunit.de/PHPUnit

Errors which I got during installation:

Validation Error: This package.xml requires PEAR version 1.9.4 to parse properly, we are version 1.9.2
pear upgrade pear
Nothing to upgrade

UPDATE 1

This is my pear config. I assume that I messed up local and mamp installs(I didn’t know that mamp also has pear, so I installed local one).

I suppose something wrong with bin_dir, php_dir and other paths?

Keefir-Samolet-iMac:MAMP jevgenismirnov$ pear config-show
Configuration (channel pear.php.net):
=====================================
Auto-discover new Channels     auto_discover    1
Default Channel                default_channel  pear.php.net
HTTP Proxy Server Address      http_proxy       
PEAR server [DEPRECATED]       master_server    pear.php.net
Default Channel Mirror         preferred_mirror pear.php.net
Remote Configuration File      remote_config    
PEAR executables directory     bin_dir          /Users/jevgenismirnov/pear/bin
PEAR documentation directory   doc_dir          /Users/jevgenismirnov/pear/docs
PHP extension directory        ext_dir          /Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/
PEAR directory                 php_dir          /Users/jevgenismirnov/pear/share/pear
PEAR Installer cache directory cache_dir        /var/folders/k7/xpwbcbrs1xs8tlxjk5mvkwrr0000gp/T//pear/cache
PEAR configuration file        cfg_dir          /Users/jevgenismirnov/pear/cfg
directory
PEAR data directory            data_dir         /Users/jevgenismirnov/pear/data
PEAR Installer download        download_dir     /tmp/pear/install
directory
PHP CLI/CGI binary             php_bin          /Applications/MAMP/bin/php/php5.3.6/bin/php
php.ini location               php_ini          
--program-prefix passed to     php_prefix       
PHP's ./configure
--program-suffix passed to     php_suffix       
PHP's ./configure
PEAR Installer temp directory  temp_dir         /tmp/pear/install
PEAR test directory            test_dir         /Users/jevgenismirnov/pear/tests
PEAR www files directory       www_dir          /Users/jevgenismirnov/pear/www
Cache TimeToLive               cache_ttl        3600
Preferred Package State        preferred_state  stable
Unix file mask                 umask            22
Debug Log Level                verbose          1
PEAR password (for             password         
maintainers)
Signature Handling Program     sig_bin          /usr/local/bin/gpg
Signature Key Directory        sig_keydir       /Applications/MAMP/bin/php/php5.3.6/conf/pearkeys
Signature Key Id               sig_keyid        
Package Signature Type         sig_type         gpg
PEAR username (for             username         
maintainers)
User Configuration File        Filename         /Users/jevgenismirnov/.pearrc
System Configuration File      Filename         /Applications/MAMP/bin/php/php5.3.6/conf/pear.conf
  • 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-06-01T22:13:04+00:00Added an answer on June 1, 2026 at 10:13 pm

    Ok, my bad!

    The problem was in 2 pear installations.

    So after running:

    pear uninstall pear;
    pear config-set bin_dir /Applications/MAMP/bin/php/php5.3.6/bin;
    pear config-set doc_dir /Applications/MAMP/bin/php/php5.3.6/lib/php/doc;
    pear config-set ext_dir /Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626;
    pear config-set php_dir /Applications/MAMP/bin/php/php5.3.6/lib/php;
    pear config-set data_dir /Applications/MAMP/bin/php/php5.3.6/lib/php/data;
    pear config-set php_bin /Applications/MAMP/bin/php/php5.3.6/bin/php;
    pear config-set test_dir /Applications/MAMP/bin/php/php5.3.6/lib/php/test;
    pear config-set www_dir /Applications/MAMP/bin/php5.2/lib/php/www
    

    Everything worked fine.

    Thank you for your help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to set the current line number to a variable in Elisp
I'm trying to install an application on Cent-OS from its source code. which is
I am trying to install OpenCV on my Mac (OS X v10.6.3) for use
I am trying to set up RVM On Ubuntu 11.04 Server. Making use of
I'm wondering if anybody has had any experience in trying to install SQL Server
I'm trying to alter the product pages on my Magento install. In the current
I'm trying to install MySQL_python 1.2.2 (I specifically need this version, not the current
When trying to install npm on mac os x 10.6.6 with Xcode 3.2 I
I am trying to install RVM on Mac OSX 10.5. When I do I
I am trying to install Tk-ExecuteCommand package which i downloaded from CPAN. While installing

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.