08 2017 档案
摘要:判断是否安装: crontab 安装: yum -y install vixie-cron yum -y install crontabs 启动: systemctl start crond.service 关闭: systemctl stop crond.service 重启: systemctl
阅读全文
摘要:What is this? RediSearch-PHP is a PHP client library for the RediSearch module which adds Full-Text search to Redis. Requirements Redis running with t
阅读全文
摘要:XunSearch(讯搜)的使用教程步骤 http://blog.csdn.net/flancklin/article/details/52315968 2013年7月12日/2条评论 XunSearch是一款很不错的中文全文检索工具使用xunsearch快速构建自己的PHP全文搜索引擎。 需要注意
阅读全文
摘要:3600 * 24 * 30 * 2, // 选择的数据库。 'db_id' => 0 ); protected $expireTime; protected $host; protected $port; private function __construct() { $config =...
阅读全文
摘要:mac下PHP安装扩展phpreids 一.mac自带php安装phpredis 二.mac下mamp安装phpredis $ cd phpredis $ sudo phpize $ sudo ./configure --with-php-config=/Applications/MAMP/bin/
阅读全文
摘要:一准备工作二 安装redis服务器三redis服务器的启动、使用和退出四 配置php使用redis服务五 常见问题 一 准备工作 安装homebrew安装php、nginx(或apache)或集成环境 二 安装redis服务器 通过homebrew安装 brew install redis/usr/
阅读全文
摘要:一,先说一下为什么要分表 当一张的数据达到几百万时,你查询一次所花的时间会变多,如果有联合查询的话,我想有可能会死在那儿了。分表的目的就在于此,减小数据库的负担,缩短查询时间。 根据个人经验,mysql执行一个sql的过程如下:1,接收到sql;2,把sql放到排队队列中 ;3,执行sql;4,返回
阅读全文

浙公网安备 33010602011771号