Use right version of phpenmod on Debian
kovacskri opened this issue · 0 comments
kovacskri commented
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}
- Create a box with the following parameters:
- box_name: "drifter/jessie64-base"
- box_url: "https://vagrantbox-public.liip.ch/drifter-jessie64-base.json"
- php_version: 7
- Run vagrant provision
It should fall back to phpenmod if the PHP version 7 and successfully complete the tasks.