您现在的位置是:首页 > 经验记录>日常笔记>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
随机推荐
- laravel上线都要注意什么?
- Git忽略规则和.gitignore规则不生效的解决办法
- php导出数据到excel,防止身份证等数字字符格式变成科学计数的方法
- centos7下配置好网络之后ssh登录失败怎么办
- mqtt服务器(emqx)如何在页面使用webSocket连接?(可带用户名密码认证)
- phpstorm中的注释模板定义
- Golang获取命令行参数(通过命令行指定参数控制程序运行)
- ubuntu 下搭建redis和php的redis的拓展
- Ubuntu上安装和配置Supervisor及运行pkg_resources.DistributionNotFound:报错处理
- Redis在Window服务下的安装
文章评论
未开放






