Haroldo Haroldo - 11 months ago 56
PHP Question

how do you install a PEAR package on WAMP, Windows 7?

I've no idea with command line stuff!

What i've done:


  1. changed my php.ini to phar.require_hash -> off

  2. ran go-pear.bat



so i'm pretty sure i've got PEAR installed,

now I'd like to install this package

I've tried following the instructions but I really don't know how to do things with cmd.exe,

would love some help!

Answer Source

If you have PEAR installed, you just need to issue the package installation command.

Press Win+R, then type cmd and press Enter. In the CMD window, type pear install Text_Diff and you're done.