“PHP”的版本间的差异

来自Gea-Suan Lin's Wiki
跳到导航 跳到搜索
 
(未显示同一用户的5个中间版本)
第6行: 第6行:
  
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
sudo LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php; sudo apt update; sudo apt install -y php7.2-bcmath php7.2-bz2 php7.2-curl php7.2-dba php7.2-fpm php7.2-gd php7.2-gmp php7.2-imap php7.2-intl php7.2-json php7.2-ldap php7.2-mbstring php7.2-mysql php7.2-odbc php7.2-opcache php7.2-pgsql php7.2-readline php7.2-snmp php7.2-soap php7.2-sqlite3 php7.2-tidy php7.2-xml php7.2-xmlrpc php7.2-xsl php7.2-zip; sudo apt clean
+
sudo LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php; sudo apt update; sudo apt install -y composer php7.4-bcmath php7.4-bz2 php7.4-curl php7.4-dba php7.4-fpm php7.4-gd php7.4-gmp php7.4-imap php7.4-imagick php7.4-intl php7.4-json php7.4-ldap php7.4-mbstring php7.4-mysql php7.4-odbc php7.4-opcache php7.4-pgsql php7.4-readline php7.4-snmp php7.4-soap php7.4-sqlite3 php7.4-tidy php7.4-xml php7.4-xmlrpc php7.4-xsl php7.4-zip php-apcu; sudo apt clean
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
sudo LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php; sudo apt update; sudo apt install -y php7.3-bcmath php7.3-bz2 php7.3-curl php7.3-dba php7.3-fpm php7.3-gd php7.3-gmp php7.3-imap php7.3-intl php7.3-json php7.3-ldap php7.3-mbstring php7.3-mysql php7.3-odbc php7.3-opcache php7.3-pgsql php7.3-readline php7.3-snmp php7.3-soap php7.3-sqlite3 php7.3-tidy php7.3-xml php7.3-xmlrpc php7.3-xsl php7.3-zip; sudo apt clean
+
sudo LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php; sudo apt update; sudo apt install -y composer php8.0-bcmath php8.0-bz2 php8.0-curl php8.0-dba php8.0-fpm php8.0-gd php8.0-gmp php8.0-imap php8.0-imagick php8.0-intl php8.0-ldap php8.0-mbstring php8.0-mysql php8.0-odbc php8.0-opcache php8.0-pgsql php8.0-readline php8.0-snmp php8.0-soap php8.0-sqlite3 php8.0-tidy php8.0-xml php8.0-xmlrpc php8.0-xsl php8.0-zip php8.0-apcu
</syntaxhighlight>
 
 
 
<syntaxhighlight lang="bash">
 
sudo LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php; sudo apt update; sudo apt install -y php7.4-bcmath php7.4-bz2 php7.4-curl php7.4-dba php7.4-fpm php7.4-gd php7.4-gmp php7.4-imap php7.4-intl php7.4-json php7.4-ldap php7.4-mbstring php7.4-mysql php7.4-odbc php7.4-opcache php7.4-pgsql php7.4-readline php7.4-snmp php7.4-soap php7.4-sqlite3 php7.4-tidy php7.4-xml php7.4-xmlrpc php7.4-xsl php7.4-zip; sudo apt clean
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  

2021年2月27日 (六) 12:55的最新版本

PHP是一个程式语言。

安装

用下面指令安装PPA版:

sudo LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php; sudo apt update; sudo apt install -y composer php7.4-bcmath php7.4-bz2 php7.4-curl php7.4-dba php7.4-fpm php7.4-gd php7.4-gmp php7.4-imap php7.4-imagick php7.4-intl php7.4-json php7.4-ldap php7.4-mbstring php7.4-mysql php7.4-odbc php7.4-opcache php7.4-pgsql php7.4-readline php7.4-snmp php7.4-soap php7.4-sqlite3 php7.4-tidy php7.4-xml php7.4-xmlrpc php7.4-xsl php7.4-zip php-apcu; sudo apt clean
sudo LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php; sudo apt update; sudo apt install -y composer php8.0-bcmath php8.0-bz2 php8.0-curl php8.0-dba php8.0-fpm php8.0-gd php8.0-gmp php8.0-imap php8.0-imagick php8.0-intl php8.0-ldap php8.0-mbstring php8.0-mysql php8.0-odbc php8.0-opcache php8.0-pgsql php8.0-readline php8.0-snmp php8.0-soap php8.0-sqlite3 php8.0-tidy php8.0-xml php8.0-xmlrpc php8.0-xsl php8.0-zip php8.0-apcu

外部链接