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/
There's actually no problem with the installation nor the path but when I tried to check if pear was working by typing pear
, instead of displaying list of commands it displayed this:
PHP_PEAR_INSTALL_DIR is not set correctly. Please fix it using your environment variable or modify the defaul value in pear.bat The current value is: C:\wamp\bin\php\php5.3.13\pear
I have no idea where the php5.3.13 come from since I am using php5.5.12.
I even checked the code of the pear.bat and the PHP_PEAR_INSTALL_DIR is actually correct.
What seems to be the problem?
You have to change your environment variables.
Go to Start > Control Panel > System > Environment
and modify the PHP_PEAR_INSTALL_DIR
variable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With