Search code examples
phpinstallationpear

Multiple PHP installs with separate PEAR


I have two PHP installations PHP 5.2.17 and PHP 5.3.8 and I am wondering how I would go about installing a separate PEAR installation for each version of PHP?

This is on windows and IIS.


Solution

  • You need to use separate PEAR configuration files that you can specify with pear -C /path/to/config/file - one for each installation.