Skip to content

Instantly share code, notes, and snippets.

@gladx
Last active October 11, 2022 09:23
Show Gist options
  • Save gladx/ce5dc188246eb7b1bee6a7a7a4fb838d to your computer and use it in GitHub Desktop.
Save gladx/ce5dc188246eb7b1bee6a7a7a4fb838d to your computer and use it in GitHub Desktop.
# php install
## apt
sudo add-apt-repository ppa:ondrej/php
## set other version
sudo update-alternatives --config php
// sudo update-alternatives --set php /usr/bin/php7.1
apt-get install -y \
php8.2-cli php8.2-dev \
php8.2-pgsql php8.2-sqlite3 php8.2-gd \
php8.2-curl \
php8.2-imap php8.2-mysql php8.2-mbstring \
php8.2-xml php8.2-zip php8.2-bcmath php8.2-soap \
php8.2-intl php8.2-readline \
php8.2-ldap \
\
php8.1-cli php8.1-dev \
php8.1-pgsql php8.1-sqlite3 php8.1-gd \
php8.1-curl \
php8.1-imap php8.1-mysql php8.1-mbstring \
php8.1-xml php8.1-zip php8.1-bcmath php8.1-soap \
php8.1-intl php8.1-readline \
php8.1-ldap \
php8.1-msgpack php8.1-igbinary php8.1-redis php8.1-swoole \
php8.1-memcached php8.1-pcov php8.1-xdebug \
\
php7.4-cli php7.4-dev \
php7.4-pgsql php7.4-sqlite3 php7.4-gd \
php7.4-curl php7.4-memcached \
php7.4-imap php7.4-mysql php7.4-mbstring \
php7.4-xml php7.4-zip php7.4-bcmath php7.4-soap \
php7.4-intl php7.4-readline php7.4-pcov \
php7.4-msgpack php7.4-igbinary php7.4-ldap \
php7.4-redis php7.4-xdebug \
\
php7.3-cli php7.3-dev \
php7.3-pgsql php7.3-sqlite3 php7.3-gd \
php7.3-curl php7.3-memcached \
php7.3-imap php7.3-mysql php7.3-mbstring \
php7.3-xml php7.3-zip php7.3-bcmath php7.3-soap \
php7.3-intl php7.3-readline php7.3-pcov \
php7.3-msgpack php7.3-igbinary php7.3-ldap \
php7.3-redis php7.3-xdebug \
\
php7.2-cli php7.2-dev \
php7.2-pgsql php7.2-sqlite3 php7.2-gd \
php7.2-curl php7.2-memcached \
php7.2-imap php7.2-mysql php7.2-mbstring \
php7.2-xml php7.2-zip php7.2-bcmath php7.2-soap \
php7.2-intl php7.2-readline php7.2-pcov \
php7.2-msgpack php7.2-igbinary php7.2-ldap \
php7.2-redis php7.2-xdebug \
\
php7.1-cli php7.1-dev \
php7.1-pgsql php7.1-sqlite3 php7.1-gd \
php7.1-curl php7.1-memcached \
php7.1-imap php7.1-mysql php7.1-mbstring \
php7.1-xml php7.1-zip php7.1-bcmath php7.1-soap \
php7.1-intl php7.1-readline php7.1-pcov \
php7.1-msgpack php7.1-igbinary php7.1-ldap \
php7.1-redis php7.1-xdebug \
\
php7.0-cli php7.0-dev \
php7.0-pgsql php7.0-sqlite3 php7.0-gd \
php7.0-curl php7.0-memcached \
php7.0-imap php7.0-mysql php7.0-mbstring \
php7.0-xml php7.0-zip php7.0-bcmath php7.0-soap \
php7.0-intl php7.0-readline \
php7.0-msgpack php7.0-igbinary php7.0-ldap \
php7.0-redis php7.0-xdebug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment