Skip to content

Instantly share code, notes, and snippets.

@francomile
Created October 15, 2015 00:09
Show Gist options
  • Save francomile/cfcc53af4067cd91d9cc to your computer and use it in GitHub Desktop.
Save francomile/cfcc53af4067cd91d9cc to your computer and use it in GitHub Desktop.
Install almost every PHP modules in Ubuntu/Debian servers
#!/bin/sh
sudo apt-cache search ^php5- | awk {'printf $1 " "'} | sed 's\php5-dbg\\g' | sed 's\php5-mysqlnd\\g' | sed 's\php5-xcache\\g' | sed 's\php5-fpm\\g' | sed 's\ -ms\\g'| xargs sudo apt-get -y install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment