-
Notifications
You must be signed in to change notification settings - Fork 38
How do i enable GD #21
Comments
I think that you might be doing it wrong. As far as I can tell you must add GD extension into the php build itself (extensions key in the environment.yaml file). By doing so provisioner will be able to build php version with the GD extension. Also, even if it's possible to add GD extension right into the .dashbrew file (which i doubt) it makes no sense to add it under the vhost configuration. I also think that you must install the php5-gd library first via the os::packages directive. |
I managed to get GD working with the following settings in the 5.6.0:
default: true
variants: dev+gd
extensions:
gd:
enabled: true
version: stable
fpm:
port: 9003
autostart: true |
What am I doing wrong? Also tried dev+gd, doesn't work for me also.
|
Please look at this issue over at phpbrew... I've had this same problem and it appears to be a problem with the Dashbrew environment. Applying the changes pointed out by phpid worked for me.
These changes will occur in provision/main/scripts/phpbrew/ext.install.sh |
Above did not fix my problem, still same error |
I fixed in the next way: |
@singleman68 It throws Invalid package version: gd @ error on Ubuntu 14.04 :/ |
For me, jkenneydaniel's hint on removing the --purge option did the trick. gd installed succesfully BUT without jpeg and freetype support. My app needs jpeg support for image manipulation, like most of modern apps. Then I looked up all the paths that we need for the phpbrew gd installer to find the required libraries
After a little while I got the confirmation that gd extension is enabled. It is quite tedious to do this manually. I don't know how I would implement the whole process into the dashbrew provision scripts. Maybe someone here can help out? |
My environment.yaml:
My .dashbrew:
Still, the Drupal install complaints about missing GD
The text was updated successfully, but these errors were encountered: