Installing pear on WAmp


Command: cd c:\wamp\bin\php\php5.3.0

Command: go-pear.bat

French version (

IF IT DOESN’T WORK if you are using php5.3.0 so you have refer to

1) Locate the “php.ini” file.  In my case, I found it at this path:


Don’t use the WAMP system tray icon to edit this file. It didn’t work when I tried – you have to manually locate it.

2) Find the following line, in bold:

;phar.require_hash = On


;phar.require_hash = On

3) Uncomment the “;phar.require_hash = On” line by removing the semi-colon.

4) Change “On” to “Off”.


phar.require_hash = Off

Fill in the fields. Done

ADD the Pear variable in your environment variables and check that the include_path=”.;c:\wamp\bin\php\php5.3.0\pear”

is in both of Wamps php.ini located at c:\wamp\bin\php\php5.3.0\php.ini and C:\wamp\bin\apache\apache2.2.11\php.ini.

Restart your computer

Installing the http_request package:

pear install Net_URL2

pear install HTTP_Request2-0.4.0 => install ok