会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Hail Hydra
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
10
11
12
13
14
15
下一页
2016年8月25日
redis 数据类型详解 以及 redis适用场景场合
摘要: 1. MySql+Memcached架构的问题 实际MySQL是适合进行海量数据存储的,通过Memcached将热点数据加载到cache,加速访问,很多公司都曾经使用过这样的架构,但随着业务数据量的不断增加,和访问量的持续增长,我们遇到了很多问题: 1.MySQL需要不断进行拆库拆表,Memcach
阅读全文
posted @ 2016-08-25 13:55 Nullnullisnull
阅读(317)
评论(0)
推荐(0)
2016年8月24日
You need tcl 8.5 or newer in order to run the Redis test
摘要: wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz sudo tar xzvf tcl8.6.1-src.tar.gz -C /usr/local/ cd /usr/local/tcl8.6.1/unix/ sudo ./con
阅读全文
posted @ 2016-08-24 14:25 Nullnullisnull
阅读(714)
评论(0)
推荐(0)
2016年8月23日
PHP 获取二维数组中某个key的集合
摘要: 本文为代码分享,也是在工作中看到一些“大牛”的代码,做做分享。 具体是这样的,如下一个二维数组,是从库中读取出来的。 代码清单: [php] view plain copy $user = array( 0 => array( 'id' => 1, 'name' => '张三', 'email' =
阅读全文
posted @ 2016-08-23 16:28 Nullnullisnull
阅读(804)
评论(0)
推荐(1)
2016年8月15日
Linux 定时任务
摘要: fileclear.sh task.crontab task.null.crontab是一个没有内容的空文件 开启定时任务 停止定时任务 crontab [-u username] [-l|-e|-r] 参数: -u: 只有root才能进行这个任务,也即帮其他用户新建/删除crontab工作调度;
阅读全文
posted @ 2016-08-15 13:41 Nullnullisnull
阅读(454)
评论(0)
推荐(0)
phpmailer邮件类
摘要: <?php/** * 邮件类 * Enter description here ... * @author df * Mail::getMail()->sendMail(); * */class Mail{ private static $__mail=null;//邮箱类对象 private $_
阅读全文
posted @ 2016-08-15 11:25 Nullnullisnull
阅读(212)
评论(0)
推荐(0)
2016年8月10日
详解PHP执行定时任务的实现思路
摘要: PHP本身是没有定时功能的,PHP也不能多线程。PHP的定时任务功能必须通过和其他工具结合才能实现,例如WordPress内置了wp-cron的功能,很厉害。 一、Linux服务器上使用CronTab定时执行php 我们先从相对比较复杂的服务器执行php谈起。服务器上安装了php,就可以执行php文
阅读全文
posted @ 2016-08-10 13:34 Nullnullisnull
阅读(291)
评论(0)
推荐(0)
服务器发送邮件出现Could not connect to SMTP host错误 解决办法
摘要: 服务器发送邮件出现Could not connect to SMTP host错误 解决办法 功夫不负有心人,最后了解到,除了google的smtp服务器收到请求“smtp”会接受,其他服务器比如qq 163什么的必须要收到“smtp”请求(大写),郁闷呀! 解决办法: 在 class.phpmai
阅读全文
posted @ 2016-08-10 10:41 Nullnullisnull
阅读(1141)
评论(0)
推荐(0)
有关phpmailer的详细介绍及使用方法
摘要: 有关phpmailer的用法,有需要的朋友不妨参考下 有关phpmailer的用法,有需要的朋友不妨参考下 第一,需要下载PHPMailer文件包phpmailer. http://phpmailer.sourceforge.net/第二,确认你的服务器系统已经支持socket ,通过phpinfo
阅读全文
posted @ 2016-08-10 10:26 Nullnullisnull
阅读(265)
评论(0)
推荐(0)
2016年8月4日
如何在linux中配置PHP环境
摘要: yum -y install httpd php mysql mysql-server php-mysql//安装mysql扩展yum -y install mysql-connector-odbc(添加数据源) mysql-devel(中文乱码) libdbi-dbd-mysqlyum -y in
阅读全文
posted @ 2016-08-04 09:35 Nullnullisnull
阅读(198)
评论(0)
推荐(0)
nginx服务器安装及配置文件详解
摘要: nginx在工作中已经有好几个环境在使用了,每次都是重新去网上扒博客,各种编译配置,今天自己也整理一份安装文档和nginx.conf配置选项的说明,留作以后参考。像负载均衡配置(包括健康检查)、缓存(包括清空缓存)配置实例,请参考http://segmentfault.com/a/119000000
阅读全文
posted @ 2016-08-04 09:34 Nullnullisnull
阅读(557)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
下一页
公告