I upgraded the WAMP from php 5.3.0 to php 5.3.5 now I'm having a problem with pear that I just cant' solve When I try to install Doctrine pear keeps telling me that Doctrine requires php version 5.3.2 but my installed version in 5.3.0
Where does it get this information that my installed version is 5.3.0?
I am in the directory c:\wamp\bin\php\php5.3.5
开发者_C百科I run the pear command from here. I even downloaded the new go-pear.phar from pear.php.net and ran it from this directory. It created the pear file for me.
Where is the old setting stuck? Is it somewhere in registry?
PEAR stores the PHP binary it uses in its configuration.
View the configuration:
$ pear config-show
$ pear config-get php_bin
You can change it with
$ pear config-set php_bin /path/to/php
Also, you might need to update pear.bat
to have the correct php location. Changing the config and upgrading pear (possibly with -f when it's already at the latest version) will fix it, too.
精彩评论