您现在的位置是:首页 > 经验记录>日常笔记>ubuntu下nginx环境php7.1安装ZipArchive 网站首页 日常笔记
ubuntu下nginx环境php7.1安装ZipArchive
首先:查看PHP已安装扩展
php -m
[PHP Modules]
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache
以上即为已安装的php扩展,这里我已经安装好了 zip(就是ZipArchive) 扩展请无视
然后:安装zip扩展
ubutun系统:
sudo apt-get install php7.1-zip1
centos系统:
yum install php7.1-zip
注意:注意一下自己PHP版本,我是7.1的
OK,重启一下nginx: sudo service nginx restart
随机推荐
- CentOS8 yum 报错 404 for http://mirrors.cloud.aliyuncs.com/centos/8/AppStream
- Windows10 WSL2 Ubuntu 宝塔面板无法打开 无法链接host网络 解决办法 图文教程
- Laravel 使用 laravel-snappy 包 实现 HTML 转 PDF 和 PNG
- Centos 安装中文字体
- ubuntu下nginx环境php7.1安装ZipArchive
- Git如何初始化本地已有项目
- 阿里云 Failed to download metadata for repo ‘AppStream‘(centos8放弃维护)
- git push之后回滚到某个版本
- Mysql检查链接数,状态,最大链接数等
- Ubuntu上安装和配置Supervisor及运行pkg_resources.DistributionNotFound:报错处理
文章评论
未开放






