Created
December 12, 2016 12:04
-
-
Save yratof/bd5d4107ef5d9d44d4ad6a16732a9c94 to your computer and use it in GitHub Desktop.
Resinstall GD with Vagrant via PHPBrew
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -L -O https://github.com/phpbrew/phpbrew/raw/master/phpbrew | |
chmod +x phpbrew | |
# Move phpbrew to somewhere can be found by your $PATH | |
sudo mv phpbrew /usr/bin/phpbrew | |
phpbrew ext install gd \ | |
-- --with-libdir=lib/i386-linux-gnu \ | |
--with-gd=shared \ | |
--enable-gd-native-ttf \ | |
--with-jpeg-dir=/usr \ | |
--with-png-dir=/usr | |
sudo service apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment