2017年5月9日
摘要: 2015.8.18 PHP生成JSON数据 json_encode($value) 方法 (response.php和testapi.php) 通信标准格式: code 状态码 message 提示信息 data返回数据 json如何封装通信数据方法 Response类 <?php classRes 阅读全文
posted @ 2017-05-09 11:35 轻浮不韪 阅读(1564) 评论(0) 推荐(0) 编辑
摘要: 2015.8.29 新浪云部署thinkphp网站: 1.创建应用,使用thinkphp框架 2.使用svn导出sae上的代码,并修改,上传便可 3.使用数据库管理PHPMyAdmin,导入数据 编辑模式 开发者模式 <!--more--> 需要在开发者中心关闭开发者模式才能进入编辑模式 开发者模式 阅读全文
posted @ 2017-05-09 11:34 轻浮不韪 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 一、下载安装 http://www.phperz.com/article/14/1211/40633.html 解决证书错误 http://my.oschina.net/yearnfar/blog/346727 http://www.yiichina.com/tutorial/324 http:// 阅读全文
posted @ 2017-05-09 11:33 轻浮不韪 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 2015.8.18 在centos 7虚拟机中安装配置 Memcache和mamcached 方法一(简单,但是未试验) http://www.blogjava.net/nkjava/archive/2015/04/25/centos7_install_memcached.html 方法一(简单,但 阅读全文
posted @ 2017-05-09 11:33 轻浮不韪 阅读(620) 评论(0) 推荐(0) 编辑
摘要: http://zlkb.net/140.html sudo yum install php-devel pcre-devel gcc make yum install gcc libtool make git #因为安装的是minimal的系统,所以很多默认的工具是没有的 yum install p 阅读全文
posted @ 2017-05-09 11:32 轻浮不韪 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 中文手册 http://doc3.workerman.net/ svn安装 http://www.cnblogs.com/jiqing9006/p/3370627.html <!--more--> http://blog.csdn.net/fengyily/article/details/36649 阅读全文
posted @ 2017-05-09 11:32 轻浮不韪 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 基于centos 安装composer 进入你的安装包文件保存目录 /usr/local/src 下载composer文件(若不成功,多试几次) curl -sS https://getcomposer.org/installer | php<!--more--> 将composer加入到环境变量中 阅读全文
posted @ 2017-05-09 11:31 轻浮不韪 阅读(80) 评论(0) 推荐(0) 编辑
摘要: http://lnmp.org/install.htm 解压 文件夹 tar zxvf ln cd ln ./install 重启 php /etc/init.d/php-fpm start <!--more--> 重启nginx nginx : kill nginx进程ID,再/usr/local 阅读全文
posted @ 2017-05-09 11:31 轻浮不韪 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 一、安装过程 1、安装redis 最新版本3.0.5 http://download.redis.io/releases/redis-3.0.5.tar.gz 安装在/usr/local/redis目录 [root@localhost local]# mkdir /usr/local/redis [ 阅读全文
posted @ 2017-05-09 11:30 轻浮不韪 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 编译安装 swoole 下载 https://github.com/swoole/swoole-src unzip swoole-src-master.zip cd swoole-src-master /usr/local/php/bin/phpize # phpize的目录 ./configure 阅读全文
posted @ 2017-05-09 11:29 轻浮不韪 阅读(109) 评论(0) 推荐(0) 编辑