Skip to content

Instantly share code, notes, and snippets.

@lleixat
Last active May 20, 2018 08:32
Show Gist options
  • Save lleixat/183acd52f61f9784383eb80ded44b78c to your computer and use it in GitHub Desktop.
Save lleixat/183acd52f61f9784383eb80ded44b78c to your computer and use it in GitHub Desktop.
Archlinux PHP{71,56} install
#!/usr/bin/env bash
# src: https://aur.archlinux.org/packages/php71-fpm/
# https://aur.archlinux.org/packages/php56/
# https://raw.githubusercontent.com/Azero-NG/archlinux/master/freetype-config
echo '=> Install `freetype-config` script (unavailable since `freetype2` upgrade)'
wget https://raw.githubusercontent.com/Azero-NG/archlinux/master/freetype-config
chmod +x freetype-config && sudo mv freetype-config /usr/bin/
echo '=> Install base `php-fpm56`'
yaourt -S php56-fpm php56-{gd,intl,apcu,xsl,mcrypt,xdebug} --noconfirm
echo '=> Install base `php-fpm71`'
yaourt -S php71-fpm php71-{gd,intl,apcu,xsl,mcrypt,phpdbg} --noconfirm
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment