views:

211

answers:

1

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!

+5  A: 

If you have PEAR installed, you just need to issue the package installation command in CMD. Press Win+R, then type cmd and press enter. In CMD window type pear install Text_Diff and you're done.

Sepehr Lajevardi
do i need to put anything into CMD before that?
Haroldo
I don't get what you mean by putting somthin' into CMD, just type that command. Afterward you can issue `pear list` to see if that package is already installed or not.
Sepehr Lajevardi
i get: *'pear' is not recognised as an internal or external command, operable program or batch file*
Haroldo
does that mean pear is incorrectly/not installed?
Haroldo
Did you copy the `pear.bat` into your `System32` directory? If no, Did you add `Wamp's PHP Dir` to windows PATH environment variable to expose that file globally? If no, you can issue `pear` commands from nowhere but `Wamp's PHP Dir`. This means that you have to `cd` to that directory first. If even that fails to work, pear is not installed. Here's a good guide: http://trac.symfony-project.org/wiki/HowToInstallPearOnWindowsWithWamp
Sepehr Lajevardi