Hi, today I will tell you how to install pear on php windows environment. Below steps from 1-3 will follow if PEAR directory is not created during WAMP installation. To install PEAR open a command prompt window (Start->Run->cmd. Then Enter) and go to the php executable subdirectory and run step 4 command.
Step to install pear on WAMP
step 1:Create a folder called PEAR in C:\wamp\bin\php\php5.3.8 if Does not find PEAR folder.
step 2:Downloaded latest go-pear.phar from pear.php.net/go-pear.phar
step 3:Paste above downloaded file into PEAR folder.
step 4:cd to the PEAR then Ran command “php go-pear.phar”.