Skip to content

Instantly share code, notes, and snippets.

@kirankarki
Created June 27, 2019 06:57
Show Gist options
  • Save kirankarki/11d8dbc5539667f3fdd2fa69e4d189ce to your computer and use it in GitHub Desktop.
Save kirankarki/11d8dbc5539667f3fdd2fa69e4d189ce to your computer and use it in GitHub Desktop.
phpbrew use 5.6.16
phpbrew ext install gd
--- fail
phpbrew ext disable gd
cd ~/.phpbrew/build/php-5.6.16/ext/gd
make clean
./configure --with-gd=shared --with-vpx-dir=/usr --with-jpeg-dir=/usr --with-xpm-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --with-freetype-dir=/usr/include/freetype2/freetype
make
make test
make install
phpbrew ext enable gd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment