liip/drifter

Use right version of phpenmod on Debian

kovacskri opened this issue · 0 comments

The debian jessie basebox with PHP 7.0 fails during provision because the task "php-fpm" tries to run the php5enmod command regardless of the version.

TASK [php-fpm : Activate PHP configuration files] ****************************** failed: [default] (item=php-dev) => {"cmd": "php5enmod php-dev", "failed": true, "item": "php-dev", "msg": "[Errno 2] No such file or directory", "rc": 2}

  1. Create a box with the following parameters:
  1. Run vagrant provision

It should fall back to phpenmod if the PHP version 7 and successfully complete the tasks.