今天遇到一个微信的问题,在发布微信菜单时,微信返回错误代码:{"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest hint: [0722vr31!]"}。
一直以为...
9年前 (2016-11-14) 20788℃ 0评论
73喜欢
curl -H "Content-Type: application/json" -X POST --data '{"data":"1"}' http://127.0.0.1/
转载自:https://my.oschina.net/code33/blog/417424
转载...
9年前 (2016-11-14) 3532℃ 0评论
13喜欢
在MySQL中使用下面的形式对变量进行赋值操作:
SET @dbname = 'test';
SET @dbaccount = 'test';
执行下列语句时会报如下错误:ERROR 1064 (42000): You have an error in your SQL syn...
9年前 (2016-10-24) 10899℃ 0评论
23喜欢
Screen被称之为一个全屏窗口管理器,用他可以轻松在一个物理终端上获得多个虚拟终端的效果。
Screen功能说明:
简单来说,Screen是一个可以在多个进程之间多路复用一个物理终端的窗口管理器,这意味着你能够使用一个单一的终端窗口运行多终端的应用。Screen中有会话的概念,...
9年前 (2016-09-06) 4061℃ 0评论
7喜欢
linux,centos下PHP使用ZipArchive压缩zip文件出现乱码问题
问题描述:
在linux生产环境中,使用PHP的zip扩展ZipArchive类对多个文件进行压缩处理,出现了乱码的问题(压缩包内的文件名乱码,文件内容是正常的)。
软件环境:
操作系统c...
9年前 (2016-05-11) 8354℃ 0评论
8喜欢
1.先安装依赖包
准备工作:
# 安装编译工具:
yum install gcc automake autoconf libtool gcc-c++
# 安装基础库
yum install gd zlib zlib-devel openssl openssl-deve...
9年前 (2016-03-31) 10132℃ 0评论
2喜欢
MySQL5.7用户权限分配(分配数据库给用户)的时候使用grant all on test.* to 'test@localhost';这个语句显示成功执行,但是没有分配成功。
错误现象:
登录到test用户,不能查看到test数据库。
错误原因:
grant all on t...
9年前 (2016-03-31) 4714℃ 0评论
32喜欢
centos7 下编译php-5.2.17的时候出现如下的错误:
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] 错误 1
这个需要一个补丁禁用openssl的SSLv2_client_meth...
9年前 (2016-03-30) 4489℃ 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...
9年前 (2016-03-30) 3856℃ 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...
9年前 (2016-03-29) 2491℃ 0评论
1喜欢