Skip to content
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.

Commit

Permalink
change php packages variable name to 'extensions'
Browse files Browse the repository at this point in the history
  • Loading branch information
fephil committed Feb 27, 2016
1 parent 660805c commit 2918947
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ These instructions are based on Sequel Pro for OSX. When creating a new connecti

### Adding PHP extensions

If extra PHP modules are required e.g. GD, you can add them to the lesnar.yml file, under the PHP packages variable. Make sure you add the PHP 7 version of each extension e.g `php7.0-gd`. You can then install the extensions by running `vagrant provision` in the project folder.
If extra PHP modules are required e.g. GD, you can add them to the lesnar.yml file, under the PHP extensions variable. Make sure you add the PHP 7 version of each extension e.g `php7.0-gd`. You can then install the extensions by running `vagrant provision` in the project folder.

If you log into the Virtual Machine, you can run the following command to find available PHP 7 extensions:

Expand Down
2 changes: 1 addition & 1 deletion provision/lesnar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ server:
timezone: UTC
locale: en_US.UTF-8
php:
packages:
extensions:
- php7.0-mysql
- php7.0-curl
- php-xdebug
Expand Down
2 changes: 1 addition & 1 deletion provision/php/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
- name: Install PHP Packages
become: true
apt: pkg={{ item }} state=present
with_items: php.packages
with_items: php.extensions

0 comments on commit 2918947

Please sign in to comment.