How to install PEAR on WAMP?

Follow following steps to install pear on window using WAMP architecture:

  1. Go to command prompt using start->run->cmd
  2. Now navigate to directory which contains PHP. in my case C:\wamp\php. For different types of installation it might be c:\wamp\bin\php\php5.2.8
  3. Now type go-pear and hit Enter key
  4. Commands line will display following message, immediately afterward we pressed Enter:

     

    Pear installation

    Screen after go-pear command

  5. After this, it will appear to us a list numbered until the 10. Here simply we return to press Enter.

     

    Pear installtaion path selection

    Screen after selection of system-wide installation

  6. Finished executing it will ask to us if we want that php.ini is modified, writes the letter “Y” and presses again Enter.

     

    PHP ini edit confirmation

    Confirm PHP.ini Edit

  7. Next it will be said to you that include_path will be updated, single press Enter.

     

    Message of confirmation include path

    Confirmation message of added include path

  8. And up to here the line of command arrived, (at the moment). As last message announces to us that a called file PEAR_ENV.reg has been created, which will add some windows environmet variables.
    powww-06
  9. It enters to “C:\wamp\php” and it gives double click to the file “PEAR_ENV.reg”. To the message that appears it gives in “Yes” and to the following one it gives “Accept”.
  10. restart your server via left click system try WAMP icon -> Restart all services

Now You have PEAR installed on your window machine system wide.

3 responses to this post.

  1. Posted by enam on April 24, 2010 at 12:54 PM

    Thanks very helpful.

    Reply

  2. Posted by jack on May 15, 2011 at 8:26 PM

    i downloaded wamp on x64 and i dont have any go-pear.bat in that folder, help?

    Reply

  3. Posted by swayer on December 6, 2011 at 8:13 AM

    thanks! useful guide.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.