I am trying to install a PEAR package into my recent XAMPP PHP installation (PHP 5.3.1) on Windows 7 64-bit.
Installing new packages fails because PEAR tries to access <
To change the path from c:\windows\pear.ini
to c:\path_to_xampp\php\pear.ini
you can download this file at http://pear.php.net/go-pear.phar and place it in your c:\path_to_xampp\php
folder.
Run:
php go-pear.phar
Change the location of your pear.ini (11) to c:\path_to_xampp\php
($prefix\pear.ini
).
Save and run the new file c:\path_to_xampp\php\PEAR_ENV.reg
.
Log out of Windows and run (in c:\path_to_xampp\php
)
pear config-show
Now you can see that the path has been updated :)