Menu

Tree [b11acd] v0.1.0 /
 History

HTTPS access


File Date Author Commit
 inst 2011-08-18 Christian Weiske Christian Weiske [18b421] ignore more files
 src 2011-08-22 Christian Weiske Christian Weiske [a74783] support php 5.4.x RC/alpha files
 .gitignore 2011-09-02 Christian Weiske Christian Weiske [3d6e99] initial build file; creates release file and re...
 README 2011-09-02 Christian Weiske Christian Weiske [433cc0] rstify readme
 build.properties.dist 2011-09-02 Christian Weiske Christian Weiske [3d6e99] initial build file; creates release file and re...
 build.xml 2011-09-02 Christian Weiske Christian Weiske [b11acd] task to deploy release files to sourceforge

Read Me

phpfarm
=======

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/``


Setup
-----
- Check out phpfarm from git:
  ``git clone git://git.code.sf.net/p/phpfarm/code phpfarm``
- ``cd phpfarm/src/``
- ``./compile.sh 5.3.0``
- PHP gets installed into ``phpfarm/inst/php-$version/``
- ``phpfarm/inst/bin/php-$version`` is also executable
  You should add ``inst/bin`` to your ``$PATH``, i.e.
  ``PATH="$PATH:$HOME/phpfarm/inst/bin"`` in ``.bashrc``


Customization
-------------
Default configuration options are in ``src/options.sh``.
You may create version-specific custom option files:

- ``custom-options.sh``
- ``custom-options-5.sh``
- ``custom-options-5.3.sh``
- ``custom-options-5.3.1.sh``

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:

- ``custom-php.ini``
- ``custom-php-5.ini``
- ``custom-php-5.3.ini``
- ``custom-php-5.3.1.ini``
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.