-
Notifications
You must be signed in to change notification settings - Fork 16
PHP
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.
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.
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.
We install the following PHP extensions and configure them: