|inst||2012-09-13||Christian Weiske||[1ddec2] script to switch the active php version|
|src||2013-10-24||Christian Weiske||[81d57a] run buildconf when configure does not exist|
|.gitignore||2011-09-02||Christian Weiske||[3d6e99] initial build file; creates release file and re...|
|LICENSE||2012-09-13||Christian Weiske||[1e3c3b] license file|
|README.rst||2012-09-13||Christian Weiske||[045cc3] add phpfarm homepage link|
|build.properties.dist||2011-09-02||Christian Weiske||[3d6e99] initial build file; creates release file and re...|
|build.xml||2011-09-02||Christian Weiske||[078a77] change version to next|
Set of scripts to install a dozen of PHP versions in parallel on a system. It also creates a Pyrus installation for each PHP version. Primarily developed for PEAR's continuous integration machine.
The PHP source packages are fetched from museum.php.net (which is not always up-to-date), the official php.net download pages and the pre-release channels. If a file cannot be found, try to fetch it manually and put it into src/bzips/
Default configuration options are in src/options.sh. You may create version-specific custom option files:
The shell script needs to define a variable "$configoptions" with all ./configure options. Do not try to change prefix and exec-prefix.
php.ini values may also be customized:
Using the command switch-phpfarm, you can make one of the installed PHP versions the default one that gets run when just typing php:
$ switch-phpfarm Switch the currently active PHP version of phpfarm Available versions: 5.2.17 5.3.16 5.4.6 $ switch-phpfarm 5.4.6 Setting active PHP version to 5.4.6 PHP 5.4.6 (cli) (built: Sep 13 2012 11:24:56) (DEBUG)
You need to have inst/current-bin in your $PATH to make this work.