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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:11:44+00:00 2026-06-13T05:11:44+00:00

My operating system is Windows 7. I got my WAMP2.2 install in my computer.

  • 0

My operating system is Windows 7.
I got my WAMP2.2 install in my computer.
Then I try to install PEAR.
However, I can not find my go-pear.bat file in my wamp directory.
Fine. I download in here: http://pear.php.net/go-pear.phar
and install using this file.
I put the file in

 C:/wamp/bin/php/php5.3.8/pear/go-pear.phar

Run the command: php -d phar.require_hash=0 PEAR/go-pear.phar
After the installation, I include the path of pear in php.ini in php and apache folder.
I also include C:/wamp/bin/php/php5.3.8/ in windows $PATH variable.
But when I run pear command. It said it can not find the pear command.
I check the folder and just find a file called pear.bat and pear.ini.
I tried to run pear.bat again in command line. It still does not work.
Experts, please help on this issue.

  • 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-13T05:11:46+00:00Added an answer on June 13, 2026 at 5:11 am

    Ok since many people may be asking the same thing. Let’s suppose the following.
    I’m currently running 2.2 E which includes Apache 2.2.22 – Mysql 5.5.24 – PHP 5.3.13 XDebug 2.1.2 XDC 1.5 PhpMyadmin 3.4.10.1 SQLBuddy 1.3.3 webGrind 1.0

    Now, to install PEAR do the following:

    Download this file:
    http://pear.php.net/go-pear.phar

    And put it on your WAMP server directory under the PHP version on the bin folder.
    Run the command to install PEAR and you’re over it.

    Example (defaults, no change has been done)

    1. Get the file on the link ->http://pear.php.net/go-pear.phar
    2. Go to this directory C:\wamp\bin\php\php5.3.13
    3. Open command prompt (cmd.exe). Supposing you’re using Windows Vista and higher, press Start, type “cmd.exe” and right click on it and select run as administrator/CTRL+SHIFT+Enter (Haven’t tested on non-priviliges rights)
    4. Use Window’s cd command to change the directory to the go-pear.phar file you’ve just downloaded. In my case I’ll be pin pointing it to my own directory, so I did it like follows:

      cd "C:\wamp\bin\php\php5.3.13"

    5. Press Enter. You should note that instead of saying “C:\system\32” is now displaying C:\wamp\bin\php\php5.3.13

    6. Write the following command and press Enter:

      php -d phar.require_hash=0 go-pear.phar

    7. Select whether you like or not a local copy or a system one. By typing system:local and pressing enter you’ll install a local copy. By typing system and pressing enter you’ll install a system-wide copy.

    8. Type yes to confirm the option chosen.

    9. The next list of directories, will be the referring directories that PEAR will install its components. If you select from 1 – 12 you can change the directory you’d like to install. By typing all and pressing Enter you’ll be able to change them all in a queued manner. In my case, I just pressed Enter and left all defaults

    DO THE FOLLOWING IN CASE YOU CONTINUE TO HAVE SOME LISTINGS
    11. It is very probable that afterwards you’ll receive a message like:

    WARNING! The include+path defined in the currently used php.ini does not contain the PEAR PHP directory you just specified: If the specified directory is also not in the include_path used by your scripts, you will have problems getting any PEAR packages working.

    Below it will also appear:

    Would you like to alter php.ini ? [Y/n]:

    Type y and press enter

    This should put you running with PEAR on WAMP server 🙂

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

Sidebar

Related Questions

I just got a new desktop computer with Windows 7 Pro as the operating
Context Language: C# Platform Version: Microsoft .Net Framework 4.0 Operating System: Windows 7 Professional
I just upgraded my operating system to Windows 7. Visual Studio 2008 also seems
I am running into trouble given the following setup: Operating System is Windows 7
In windows operating system, the stack memory is a thread-specific storage, and the call
I have a 64 bit windows operating system and I use VS2008 to write
Problem: I am using Windows as a guest operating system in a Virtual Machine
Is there a way in Windows/Linux or any other operating system to know at
I've got this problem and I can't for the life of me find a
Related questions How can I detect the operating system in C/C++? How can I

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.