LATEST VERSION (Jan 22): 0.9.8-26

Multiple PHP

Supported OS

  • CentOS 7
  • Debian 9
  • Ubuntu 18

Supported PHP versions

  • PHP 5.6
  • PHP 7.0
  • PHP 7.1
  • PHP 7.2
  • PHP 7.3
  • PHP 7.4
  • PHP 8.0

Multiple PHP settings

  1. # Download installation script wget https://vestacp.com/php/vst-install-php.sh
  2. # Run it bash vst-install-php.sh --php80
  1. # Download installation script wget https://vestacp.com/php/vst-install-php.sh
  2. # Run it bash vst-install-php.sh --php74
  1. # Download installation script wget https://vestacp.com/php/vst-install-php.sh
  2. # Run it bash vst-install-php.sh --php73
  1. # Download installation script wget https://vestacp.com/php/vst-install-php.sh
  2. # Run it bash vst-install-php.sh --php72
  1. # Download installation script wget https://vestacp.com/php/vst-install-php.sh
  2. # Run it bash vst-install-php.sh --php71
  1. # Download installation script wget https://vestacp.com/php/vst-install-php.sh
  2. # Run it bash vst-install-php.sh --php70
  1. # Download installation script wget https://vestacp.com/php/vst-install-php.sh
  2. # Run it bash vst-install-php.sh --php56
  1. # Download installation script wget https://vestacp.com/php/vst-install-php.sh
  2. # Run it bash vst-install-php.sh --php55
  1. # Download installation script wget https://vestacp.com/php/vst-install-php.sh
  2. # Run it bash vst-install-php.sh --php54
  1. # Download installation script wget https://vestacp.com/php/vst-php80-cgi.sh
  2. # Run it bash vst-php80-cgi.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php74-cgi.sh
  2. # Run it bash vst-php74-cgi.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php73-cgi.sh
  2. # Run it bash vst-php73-cgi.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php72-cgi.sh
  2. # Run it bash vst-php72-cgi.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php71-cgi.sh
  2. # Run it bash vst-php71-cgi.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php70-cgi.sh
  2. # Run it bash vst-php70-cgi.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php56-cgi.sh
  2. # Run it bash vst-php56-cgi.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php80-fcgid.sh
  2. # Run it bash vst-php80-fcgid.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php74-fcgid.sh
  2. # Run it bash vst-php74-fcgid.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php73-fcgid.sh
  2. # Run it bash vst-php73-fcgid.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php72-fcgid.sh
  2. # Run it bash vst-php72-fcgid.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php71-fcgid.sh
  2. # Run it bash vst-php71-fcgid.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php70-fcgid.sh
  2. # Run it bash vst-php70-fcgid.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php56-fcgid.sh
  2. # Run it bash vst-php56-fcgid.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php80-fpm.sh
  2. # Run it bash vst-php80-fpm.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php74-fpm.sh
  2. # Run it bash vst-php74-fpm.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php73-fpm.sh
  2. # Run it bash vst-php73-fpm.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php72-fpm.sh
  2. # Run it bash vst-php72-fpm.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php71-fpm.sh
  2. # Run it bash vst-php71-fpm.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php70-fpm.sh
  2. # Run it bash vst-php70-fpm.sh
  1. # Download installation script wget https://vestacp.com/php/vst-php56-fpm.sh
  2. # Run it bash vst-php56-fpm.sh
  1. # Install all extensions apt install php8.0-apcu php8.0-mbstring php8.0-bcmath php8.0-cli php8.0-curl php8.0-gd php8.0-intl php8.0-mcrypt php8.0-mysql php8.0-soap php8.0-xml php8.0-xmlrpc php8.0-zip php8.0-memcache php8.0-memcached php8.0-ldap
  1. # Install apcu apt install php8.0-apcu
  1. # Install mbstring apt install php8.0-mbstring
  1. # Install bcmath apt install php8.0-bcmath
  1. # Install cli apt install php8.0-cli
  1. # Install curl apt install php8.0-curl
  1. # Install gd apt install php8.0-gd
  1. # Install intl apt install php8.0-intl
  1. # Install mcrypt apt install php8.0-mcrypt
  1. # Install mysql apt install php8.0-mysql
  1. # Install soap apt install php8.0-soap
  1. # Install xml apt install php8.0-xml
  1. # Install xmlrpc apt install php8.0-xmlrpc
  1. # Install json apt install php8.0-json
  1. # Install zip apt install php8.0-zip
  1. # Install memcache apt install php8.0-memcache
  1. # Install memcached apt install php8.0-memcached
  1. # Install ldap apt install php8.0-ldap
  1. # Install all extensions apt install php7.4-apcu php7.4-mbstring php7.4-bcmath php7.4-cli php7.4-curl php7.4-gd php7.4-intl php7.4-mcrypt php7.4-mysql php7.4-soap php7.4-xml php7.4-xmlrpc php7.4-json php7.4-zip php7.4-memcache php7.4-memcached php7.4-ldap
  1. # Install apcu apt install php7.4-apcu
  1. # Install mbstring apt install php7.4-mbstring
  1. # Install bcmath apt install php7.4-bcmath
  1. # Install cli apt install php7.4-cli
  1. # Install curl apt install php7.4-curl
  1. # Install gd apt install php7.4-gd
  1. # Install intl apt install php7.4-intl
  1. # Install mcrypt apt install php7.4-mcrypt
  1. # Install mysql apt install php7.4-mysql
  1. # Install soap apt install php7.4-soap
  1. # Install xml apt install php7.4-xml
  1. # Install xmlrpc apt install php7.4-xmlrpc
  1. # Install json apt install php7.4-json
  1. # Install zip apt install php7.4-zip
  1. # Install memcache apt install php7.4-memcache
  1. # Install memcached apt install php7.4-memcached
  1. # Install ldap apt install php7.4-ldap
  1. # Install all extensions apt install php7.3-apcu php7.3-mbstring php7.3-bcmath php7.3-cli php7.3-curl php7.3-gd php7.3-intl php7.3-mcrypt php7.3-mysql php7.3-soap php7.3-xml php7.3-xmlrpc php7.3-json php7.3-zip php7.3-memcache php7.3-memcached php7.3-ldap
  1. # Install apcu apt install php7.3-apcu
  1. # Install mbstring apt install php7.3-mbstring
  1. # Install bcmath apt install php7.3-bcmath
  1. # Install cli apt install php7.3-cli
  1. # Install curl apt install php7.3-curl
  1. # Install gd apt install php7.3-gd
  1. # Install intl apt install php7.3-intl
  1. # Install mcrypt apt install php7.3-mcrypt
  1. # Install mysql apt install php7.3-mysql
  1. # Install soap apt install php7.3-soap
  1. # Install xml apt install php7.3-xml
  1. # Install xmlrpc apt install php7.3-xmlrpc
  1. # Install json apt install php7.3-json
  1. # Install zip apt install php7.3-zip
  1. # Install memcache apt install php7.3-memcache
  1. # Install memcached apt install php7.3-memcached
  1. # Install ldap apt install php7.3-ldap
  1. # Install all extensions apt install php7.2-apcu php7.2-mbstring php7.2-bcmath php7.2-cli php7.2-curl php7.2-gd php7.2-intl php7.2-mcrypt php7.2-mysql php7.2-soap php7.2-xml php7.2-xmlrpc php7.2-json php7.2-zip php7.2-memcache php7.2-memcached php7.2-ldap
  1. # Install apcu apt install php7.2-apcu
  1. # Install mbstring apt install php7.2-mbstring
  1. # Install bcmath apt install php7.2-bcmath
  1. # Install cli apt install php7.2-cli
  1. # Install curl apt install php7.2-curl
  1. # Install gd apt install php7.2-gd
  1. # Install intl apt install php7.2-intl
  1. # Install mcrypt apt install php7.2-mcrypt
  1. # Install mysql apt install php7.2-mysql
  1. # Install soap apt install php7.2-soap
  1. # Install xml apt install php7.2-xml
  1. # Install xmlrpc apt install php7.2-xmlrpc
  1. # Install json apt install php7.2-json
  1. # Install zip apt install php7.2-zip
  1. # Install memcache apt install php7.2-memcache
  1. # Install memcached apt install php7.2-memcached
  1. # Install ldap apt install php7.2-ldap
  1. # Install all extensions apt install php7.1-apcu php7.1-mbstring php7.1-bcmath php7.1-cli php7.1-curl php7.1-gd php7.1-intl php7.1-mcrypt php7.1-mysql php7.1-soap php7.1-xml php7.1-xmlrpc php7.1-json php7.1-zip php7.1-memcache php7.1-memcached php7.1-ldap
  1. # Install apcu apt install php7.1-apcu
  1. # Install mbstring apt install php7.1-mbstring
  1. # Install bcmath apt install php7.1-bcmath
  1. # Install cli apt install php7.1-cli
  1. # Install curl apt install php7.1-curl
  1. # Install gd apt install php7.1-gd
  1. # Install intl apt install php7.1-intl
  1. # Install mcrypt apt install php7.1-mcrypt
  1. # Install mysql apt install php7.1-mysql
  1. # Install soap apt install php7.1-soap
  1. # Install xml apt install php7.1-xml
  1. # Install xmlrpc apt install php7.1-xmlrpc
  1. # Install json apt install php7.1-json
  1. # Install zip apt install php7.1-zip
  1. # Install memcache apt install php7.1-memcache
  1. # Install memcached apt install php7.1-memcached
  1. # Install ldap apt install php7.1-ldap
  1. # Install all extensions apt install php7.0-apcu php7.0-mbstring php7.0-bcmath php7.0-cli php7.0-curl php7.0-gd php7.0-intl php7.0-mcrypt php7.0-mysql php7.0-soap php7.0-xml php7.0-xmlrpc php7.0-json php7.0-zip php7.0-memcache php7.0-memcached php7.0-ldap
  1. # Install apcu apt install php7.0-apcu
  1. # Install mbstring apt install php7.0-mbstring
  1. # Install bcmath apt install php7.0-bcmath
  1. # Install cli apt install php7.0-cli
  1. # Install curl apt install php7.0-curl
  1. # Install gd apt install php7.0-gd
  1. # Install intl apt install php7.0-intl
  1. # Install mcrypt apt install php7.0-mcrypt
  1. # Install mysql apt install php7.0-mysql
  1. # Install soap apt install php7.0-soap
  1. # Install xml apt install php7.0-xml
  1. # Install xmlrpc apt install php7.0-xmlrpc
  1. # Install json apt install php7.0-json
  1. # Install zip apt install php7.0-zip
  1. # Install memcache apt install php7.0-memcache
  1. # Install memcached apt install php7.0-memcached
  1. # Install ldap apt install php7.0-ldap
  1. # Install all extensions sudo apt-get install php5.6-apcu php5.6-mbstring php5.6-bcmath php5.6-cli php5.6-curl php5.6-gd php5.6-intl php5.6-mcrypt php5.6-mysql php5.6-soap php5.6-xml php5.6-xmlrpc php5.6-json php5.6-zip php5.6-memcache php5.6-memcached php5.6-ldap
  1. # Install apcu apt install php5.6-apcu
  1. # Install mbstring apt install php5.6-mbstring
  1. # Install bcmath apt install php5.6-bcmath
  1. # Install cli apt install php5.6-cli
  1. # Install curl apt install php5.6-curl
  1. # Install gd apt install php5.6-gd
  1. # Install intl apt install php5.6-intl
  1. # Install mcrypt apt install php5.6-mcrypt
  1. # Install mysql apt install php5.6-mysql
  1. # Install soap apt install php5.6-soap
  1. # Install xml apt install php5.6-xml
  1. # Install xmlrpc apt install php5.6-xmlrpc
  1. # Install json apt install php5.6-json
  1. # Install zip apt install php5.6-zip
  1. # Install memcache apt install php5.6-memcache
  1. # Install memcached apt install php5.6-memcached
  1. # Install ldap apt install php5.6-ldap
If you have selected the required php version, then the extensions should be chosen the same version, except php for centos
Multiple PHP for Vesta working only with Apache+nginx or Apache mode