Bash - Upgrade PHP to 5.5, 5.6 or 7.0

# http://askubuntu.com/a/109544 # (for PHP 5.5/PHP 5.6/ PHP 7.0) sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get upgrade sudo apt-get install php7.0 # for PHP 7.0 sudo apt-get install php5.6 # for PHP 5.6 sudo apt-get install php5.5 # for PHP 5.5

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.