Skip to content

Instantly share code, notes, and snippets.

@adlerdias
Last active January 4, 2019 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adlerdias/29e0c61be137664ed2e5b7880c45b759 to your computer and use it in GitHub Desktop.
Save adlerdias/29e0c61be137664ed2e5b7880c45b759 to your computer and use it in GitHub Desktop.
Ubuntu 18.04: php 7.3

1 Add PHP 7.3 PPA

$ sudo add-apt-repository ppa:ondrej/php
$ sudo apt-get update

2 Install PHP 7.3 and extensions

$ sudo apt-get install php7.3 php7.3-cli php7.3-curl php7.3-mysql php7.3-xml php7.3-zip php7.3-gd php7.3-mbstring php7.3-xmlrpc php7.3-soap php7.3-zip php7.3-bcmath php7.3-bz2 php7.3-intl

3 Install composer

$ sudo apt-get install curl
$ curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment