Skip to content

Instantly share code, notes, and snippets.

@iamdylanngo
Last active January 26, 2021 03:18
Show Gist options
  • Save iamdylanngo/902b08ce44a3895e4cad4d00ce5a1e48 to your computer and use it in GitHub Desktop.
Save iamdylanngo/902b08ce44a3895e4cad4d00ce5a1e48 to your computer and use it in GitHub Desktop.
Install-PHPBrew-Ubuntu
1. Install platform-specific dependencies:
sudo apt-get install \
libcurl4-openssl-dev \
libonig-dev \
libjpeg-dev \
libjpeg8-dev \
libjpeg-turbo8-dev \
libpng-dev \
libicu-dev \
libfreetype6-dev \
libzip-dev \
libssl-dev \
build-essential \
libbz2-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libxml2-dev \
libxslt-dev \
libonig-dev \
php-cli \
php-bz2 \
pkg-config \
autoconf
2. Install PHPBrew
# Download PHPBrew
curl -L -O https://github.com/phpbrew/phpbrew/releases/latest/download/phpbrew.phar
# Make it executable
chmod +x phpbrew.phar
# Move PHPBrew binary to system folder.
sudo mv phpbrew.phar /usr/local/bin/phpbrew
# Initialize PHPBrew
phpbrew init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment