ubuntu安装常用的php扩展,php-7.0扩展列表

技术文章 litterfat 4年前 (2019-07-12) 4835次浏览 已收录 扫描二维码

ubuntu 安装常用的 php 扩展,php-7.0 扩展列表
现在网络搜索越来越不靠谱,搜索结果排在前面的,不是广告就是乱七八糟的一些错误信息。之前搜索“php-7.0 zip 扩展”,出来的都是一些过时或者错误的东东,浪费不少时间。所以有些东西还是自己收藏一下更方便。
收集一下,以备查阅

sudo apt-get install php7.0-bcmath

sudo apt-get install php7.0-bz2

sudo apt-get install php7.0-calendar

sudo apt-get install php7.0-ctype

sudo apt-get install php7.0-curl

sudo apt-get install php7.0-dom

sudo apt-get install php7.0-enchant

sudo apt-get install php7.0-exif

sudo apt-get install php7.0-fileinfo

sudo apt-get install php7.0-ftp

sudo apt-get install php7.0-gd

sudo apt-get install php7.0-gettext

sudo apt-get install php7.0-gmp

sudo apt-get install php7.0-iconv

sudo apt-get install php7.0-intl

sudo apt-get install php7.0-json

sudo apt-get install php7.0-ldap

sudo apt-get install php7.0-mbstring

sudo apt-get install php7.0-mysqli

sudo apt-get install php7.0-mysqlnd

sudo apt-get install php7.0-opcache

sudo apt-get install php7.0-pdo

sudo apt-get install php7.0-phar

sudo apt-get install php7.0-posix

sudo apt-get install php7.0-pspell

sudo apt-get install php7.0-readline

sudo apt-get install php7.0-shmop

sudo apt-get install php7.0-simplexml

sudo apt-get install php7.0-snmp

sudo apt-get install php7.0-soap

sudo apt-get install php7.0-sockets

sudo apt-get install php7.0-sqlite3

sudo apt-get install php7.0-sysvmsg

sudo apt-get install php7.0-sysvsem

sudo apt-get install php7.0-sysvshm

sudo apt-get install php7.0-wddx

sudo apt-get install php7.0-xml

sudo apt-get install php7.0-xsl

以下不能一次性全部安装,因为要选 y

sudo apt-get install php7.0-recode

sudo apt-get install php7.0-dba

sudo apt-get install php7.0-imap

sudo apt-get install php7.0-interbase

sudo apt-get install php7.0-odbc

sudo apt-get install php7.0-pgsql

sudo apt-get install php7.0-tidy

sudo apt-get install php7.0-zip

还有一些其他的 php 扩展就没有列出来了,上面这些应该是常用的,可以应负普通需求了


喜欢 (16)