Archive

Archive for February, 2014

Install PEAR on windows

February 28, 2014 Leave a comment

Follow these steps-

  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. Put go-pear.phar her.
  3. Open command prompt (cmd.exe). Supposing you’re using Windows, press Start, type “cmd.exe” and right click on it and select run as administrator.
  4. Type this cd “C:\wamp\bin\php\php5.3.13” Press Enter. You should note that instead of saying “C:\system\32” is now displaying C:\wamp\bin\php\php5.3.13
  5. Write the following command and press Enter: php -d phar.require_hash=0 go-pear.phar
  6. 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.
  7. Type yes to confirm the option chosen. 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.
Advertisements
%d bloggers like this: