How to install PEAR packages on Acquia Dev Desktop 2

How to install PEAR packages on Acquia Dev Desktop 2

2 posts / 0 new
Last post
permana.jayanta@bullseye-digital.com's picture
permana.jayanta
Points: 0
How to install PEAR packages on Acquia Dev Desktop 2

I'm on Windows 7 and I would like to install PHP Code Sniffer on Acquia Dev Desktop.

I've set PATH to Dev Desktop's php executable so I can run php command from Command prompt.

I see pear command is not recognized. Is PEAR not installed on Acquia Dev Desktop? Or It's installed but I can't see it where?

What I want to achive is, install PHP Code Sniffer so Coder module is able to detect it.

Status: 
Unresolved
gregg.marshall@its.ny.gov's picture
gregg.marshall
Points: 0

I had to install pear myself. It wasn't hard.

You can download the installer program from http://php.net/go-pear.phar and save/copy it into the PHP directory you want to use (I'm using PHP5_5).

Then execute
php go-pear.phar

And follow the prompts.