PHP_PEAR_INSTALL_DIR set incorrectly - wamp 64bit with php5.3.13

I am using wamp 64bit with php5.5.12.

I followed all 10 steps from:

http://www.tech-recipes.com/rx/29976/install-pear-on-windows-7-64x-using-wamp/

Actually there is no problem with the installation or path, but when I tried to check if the pear works by typing pear, instead of displaying a list of commands, it displayed this:

PHP_PEAR_INSTALL_DIR is set incorrectly. Correct it with an environment variable or change the defaul value in pear.bat Current value: C: \ WAMP \ Bin \ PHP \ php5.3.13 \ pear

I have no idea where php5.3.13 came from , since I am using php5.5.12 .

I even checked the pear.bat code and PHP_PEAR_INSTALL_DIR is really right.

What is the problem?

+4
1

.

Start > Control Panel > System > Environment PHP_PEAR_INSTALL_DIR.

+3

All Articles