使用pecl终端命令安装php扩展

brew不支持php70扩展的安装了,改用pecl ➜ conf.d brew search php70 ==> Searching local taps... ==> Searching taps on GitHub... ==> Searching blacklisted, migrated and deleted formulae... It was migrated from josegonzalez/php to homebrew/core. ...

2018-04-27 · 199 字 · 约 1 分钟

mysql datetime默认值设置为0000-00-00 00:00:00时报错

出错原因:mysql5.7之后的版本默认设置不允许日期为空 解决方法: 修改mysql的sql mode 默认值设置为非空值 ...

2017-07-13 · 125 字 · 约 1 分钟

crontab入门

crontab用来定时执行脚本 为什么要定时执行脚本: 异步处理,如下单赠品,计算用户会员等 自动化,如整点时间让用户可以签到,凌晨五点恢复游戏内体力等。 ...

2017-07-12 · 190 字 · 约 1 分钟

从零搭建mac开发环境

从零安装开发环境 ...

2017-05-10 · 24 字 · 约 1 分钟

通过package安装包安装mysql

通过brew安装mysql是很简单的,但是在使用的时候经常出现奇怪的错误 ,比如这样的The server quit without updating PID file,或者这样的 改用package安装 ...

2017-04-13 · 171 字 · 约 1 分钟

[mysql error]The server quit without updating PID file

mysql是通过homebrew安装的,重启电脑后启动mysql报错 ...

2017-04-12 · 63 字 · 约 1 分钟

关于缓存的一些思考

性能有问题怎么办,加机器,做缓存 ...

2017-04-12 · 42 字 · 约 1 分钟

[xml error]Unescaped & or nonterminated character/entity reference

xml的某个标签中的值包含了&,会报下面的错误 Unescaped & or nonterminated character/entity reference ...

2017-04-01 · 111 字 · 约 1 分钟

常用sql操作

几个sql操作 ...

2016-10-28 · 15 字 · 约 1 分钟

XML报错:XML declaration allowed only at the start of the document

错误信息: Warning: simplexml_load_string(): Entity: line 1: parser error : XML declaration allowed only at the start of the document ...

2016-07-20 · 107 字 · 约 1 分钟