Install and configure PHP
php_repository: false
php_timezone: Europe/Paris
php_install:
- php5
php_configure:
- file: /etc/php5/cli/php.ini
values:
- { section: date, key: date.timezone, value: '{{ php_timezone }}' }
- file: /etc/php5/apache2/php.ini
values:
- { section: date, key: date.timezone, value: '{{ php_timezone }}' }
php_repository: ppa:ondrej/php5
php_install:
- php5
- php5-xdebug
php_configure:
- file: /etc/php5/cli/php.ini
values:
- { section: date, key: date.timezone, value: '{{ php_timezone }}' }
- file: /etc/php5/mods-available/xdebug.ini
values:
- { section: date, key: date.timezone, value: '{{ php_timezone }}' }
- { section: xdebug, key: xdebug.idekey, value: my-idekey }
roles:
- { role: kosssi.php, tags: php }
Licensed under the MIT License. See the LICENSE file for details.