Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

2.2.0 "Wormhole"

Compare
Choose a tag to compare
@geerlingguy geerlingguy released this 16 Jan 04:17
· 1452 commits to master since this release

This release adds a few great new features (like Redis support, FastCGI with PHP-FPM for Apache, and optional custom post-provisioning scripts). This release also requires one change to your configuration if you're using Apache, and you need to be sure to update all your roles if you have Ansible installed on your host machine: sudo ansible-galaxy install -r provisioning/requirements.yml --force. Read on for details!

New variables in config.yml

  • Important: If you're using Apache, make sure you add a ProxyPassMatch parameter to each Drupal or PHP vhost, for example:
apache_vhosts:
  - servername: "{{ drupal_domain }}"
    documentroot: "{{ drupal_core_path }}"
    extra_parameters: |
          ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000{{ drupal_core_path }}"

FastCGI is not supported on CentOS 6, so If you're using the geerlingguy/centos6 base box, there is no need to add the extra_parameters. Note that CentOS 6 and Ubuntu 12.04 support are both slated for removal sometime later this year, see #376.

Improvements

  • #346: Switch Apache to use FPM instead of mod_php.
  • #289: Add Redis as optional install.
  • #278: Make Drupal Console install optional.
  • #174: Add ability to provide custom shell scripts to run after provisioning, with Solr config example.
  • #332: Update documentation for running PHP 7.0.0+ on Drupal VM.
  • #344: Document unsupported PHP extensions for PHP 7.
  • #293: Add support for overriding any synced_folder option.
  • #356: Allow override of default /vagrant synced folder type.
  • #355: Use new ansible_local provisioner included with Vagrant 1.8.0+.
  • #363: Document xDebug NetBeans Configuration.

Bugfixes

  • #332: PHP causes fpm error.
  • #350: Update Nginx vhost template for more optimal Drupal 8 usage.