linux,centos下PHP使用ZipArchive压缩zip文件出现乱码问题
问题描述:
在linux生产环境中,使用PHP的zip扩展ZipArchive类对多个文件进行压缩处理,出现了乱码的问题(压缩包内的文件名乱码,文件内容是正常的)。
软件环境:
操作系统c...
lampnick
9年前 (2016-05-11) 8353℃ 0评论
8喜欢
1.先安装依赖包
准备工作:
# 安装编译工具:
yum install gcc automake autoconf libtool gcc-c++
# 安装基础库
yum install gd zlib zlib-devel openssl openssl-deve...
lampnick
9年前 (2016-03-31) 10131℃ 0评论
2喜欢
centos7 下编译php-5.2.17的时候出现如下的错误:
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] 错误 1
这个需要一个补丁禁用openssl的SSLv2_client_meth...
lampnick
9年前 (2016-03-30) 4488℃ 0评论
21喜欢
centos7 nginx下编译php5.2.17+php-fpm
在make的时候 提示cannot find -lltdl
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make...
lampnick
9年前 (2016-03-30) 3854℃ 0评论
0喜欢
1、查看在线用户
使用命令:w
[root@localhost ~]# w
15:21:41 up 21 days, 16:27, 4 users, load average: 0.53, 1.29, 3.76
USER TTY FROM LOGIN@ IDLE JCPU...
lampnick
9年前 (2016-03-29) 2489℃ 0评论
1喜欢
Centos7下安装PHP7
准备工作:
# 安装编译工具:
yum -y install gcc automake autoconf libtool gcc-c++
# 安装基础库
yum -y install gd zlib zlib-devel openssl ...
lampnick
9年前 (2016-02-29) 2613℃ 0评论
0喜欢
centos7下面安装nginx
cd /usr/local/src/
wget http://nginx.org/download/nginx-1.8.1.tar.gz#下载地址
tar zxvf nginx-1.8.1.tar.gz
cd nginx-1.8.1
...
lampnick
9年前 (2016-02-24) 2413℃ 0评论
3喜欢
centos 7 php7 提示缺少php_smart_str.h怎样解决?
1、编译Memcache
wget https://github.com/websupport-sk/pecl-memcache/archive/php7.zip #下载memcache源文件
tar...
lampnick
9年前 (2016-02-24) 4793℃ 0评论
3喜欢