您现在的位置是:首页 > 经验记录>日常笔记>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
随机推荐
文章评论
未开放