Open nathan-van-der-werf opened 9 years ago
I'm getting this too, with basically the same environment.yaml. I'm on OSX (Yosemite) with Vagrant 1.7.2 and Virtualbox 4.3.26.
I also tried manually adding php5-cli to os::packages and ran vagrant provision again, but that didn't seem to change anything -- I still got the same error message.
My workaround for now is to just stick with the system PHP and run sudo apt-get install php5-gd
, which works fine for me temporarily since I don't really need any other PHP versions at the moment.
For the record: relevant issue from phpbrew which was closed in favor of this one: https://github.com/phpbrew/phpbrew/issues/484
This is a trick
I solved my problem so:
---
#
# OS Packages
#
# Packages to install via the OS package manager (apt-get).
#
os::packages:
vim: true
php5-mcrypt: true
php5-gd: true
#
# PHP Builds
#
# A hash containing a list of PHP versions and their configurations
# to be managed by phpbrew.
#
php::builds:
5.6.0:
installed: true
default: true
variants:
- dev
- mcrypt
- gd
extensions:
xdebug:
enabled: true
version: stable
xhprof:
enabled: true
version: latest
fpm:
port: 9002
autostart: true
#
# Apache Modules
#
# Apache modules to install and enable.
#
apache::modules:
rewrite: true
#
# Nodejs Modules
#
# Nodejs Modules to install via npm.
#
npm::packages:
grunt-cli: true
#
# Debug mode
#
# Enables extra information during provisioning
#
debug: false
I add mCrypt and GD Library
Next step i run commands list:
vagrant halt
vagrant up
Library loaded but if run command vagrant provision
then get error
==> default: [Error] Unable to build php
For solve it should be renamed environment.yaml to environment.yaml.example
Sorry for my English
Hello,
I am encountering the following errors:
My dashbrew environment.yaml is:
I'm using dashbrew also at home, and there it works (on windows) at my work computer (iMac) it doesn't.
Can someone help me out ?