So you have Windows 8, Aptana and WAMP and want to install Pear? This is how I did it.
- In Explorer go to your PHP folder, mine is E:\wamp\bin\php\php5.3.13
- Create a folder called PEAR
- Download the file go-pear.phar from http://pear.php.net/go-pear.phar and drop it into the folder
- Open up a command line (hit the Start key, type cmd and press enter)
- Navigate to your PHP dir (same as above)
- Type
php -d phar.require_hash=0 PEAR/go-pear.phar
- and press enter
- Now we need to add the environment variable
- Open Control Panel (go to the desktop, press Start + C, hit Control Panel)
- Go to System Security -> System
- On the left hit Advanced system settings
- Hit the Environment variables button at the bottom
- Double click the Path Value and add your PHP directory as above
- Open a new cmd prompt and type pear for a list of commands
- Done!