Skip to content
This repository was archived by the owner on Dec 14, 2021. It is now read-only.
darthsteven edited this page Nov 5, 2014 · 5 revisions

PHP 5.3 (the default) is installed from the official Ubuntu repos.

You can easily configure Parrot to install PHP 5.4 or PHP 5.5 from alternative repos.

Base configuration

Parrot installs a 'base' configuration for php configuration settings, from parrot-config/php/parrot-base.ini. You should not edit this file unless you wish to contribute these changes back upstream.

We set some (hopefully) sensible defaults.

Local configuration

We know that you may wish to override the base configuration or change the PHP configuration in addition to the base config, so we provide a file to store those changes that will be applied for you, but is ignored by git for easy merging etc.

The file you should put local modifications in is parrot-config/php/parrot-local.ini there's a template in parrot-config/php/parrot-local.ini.template to copy if you need it.

After making changes run:

vagrant provision

To make puppet apply them to your PHP installation in Parrot.

You may need to customise things like memory limits temporarily or error reporting settings etc. Think about the changes you are making though, and if they are appropriate to be shared in the base config and pushed back upstream.

Extensions

We install the following PHP extensions and configure them:

Clone this wiki locally