会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
twzd
博客园
首页
新随笔
联系
订阅
管理
随笔 - 6
文章 - 1
评论 - 0
阅读 -
4251
2016年6月1日
项目迁移到php5.6引起编码冲突解决
摘要: 使用背景:php5.6版本默认编码为utf-8,但项目整体编码GBK,打开页面出现乱码 解决办法:在项目的入口文件设置项目的默认编码 ini_set('default_charset',GBK);
阅读全文
posted @ 2016-06-01 11:47 twzd
阅读(185)
评论(0)
推荐(0)
2016年5月5日
configure: error: mcrypt.h not found. Please reinstall libmcrypt
摘要: yum install libmcrypt libmcrypt-devel mcrypt mhash 执行以上命令
阅读全文
posted @ 2016-05-05 16:26 twzd
阅读(209)
评论(0)
推荐(0)
yum安装nginx
摘要: 在/etc/yum.repos.d/目录下,新建nginx.repo文件,文件内容如下: CentOS: [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=
阅读全文
posted @ 2016-05-05 16:25 twzd
阅读(271)
评论(0)
推荐(0)
centos 源码安装php7
摘要: 通过源码安装php71.下载php7的源码包2.解压php7安装包3.进入解压文件第一步:./configure –prefix=/usr/local/php –with-curl –with-freetype-dir –with-gd –with-gettext –with-iconv-dir –
阅读全文
posted @ 2016-05-05 16:24 twzd
阅读(1200)
评论(0)
推荐(0)
swoole 的php扩展安装
摘要: 安装swoole 的php扩展有两种方式: 1.通过源码,自己进行编译安装 PHP Warning: PHP Startup: swoole: Unable to initialize moduleModule compiled with module API=20100525PHP compile
阅读全文
posted @ 2016-05-05 16:23 twzd
阅读(1023)
评论(0)
推荐(0)
phpstorm test ftp connection failed
摘要: 问题场景:按照phpstorm的配置ftp的方式,正确配置,但是就是无法连接ftp 解决办法:在ftp配置页面下面有一个advanced options选项框,点击出现如下图所示,然 后将红框勾选,重试发现ftp可以连上了
阅读全文
posted @ 2016-05-05 16:22 twzd
阅读(1329)
评论(0)
推荐(0)
公告
昵称:
twzd
园龄:
9年2个月
粉丝:
0
关注:
0
<
2025年7月
>
日
一
二
三
四
五
六
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
点击右上角即可分享