上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页
摘要: 一、简介 Nginx是俄罗斯人编写的十分轻量级的HTTP服务器,Nginx,它的发音为 “engine X”, 是一个高性能的HTTP和反向代理服务器,同时也是一个IMAP/POP3/SMTP 代理服务器.Nginx是由俄罗斯人 Igor Sysoev为俄罗斯访问量第二的 Rambler.ru站点开 阅读全文
posted @ 2016-01-28 21:59 tiandi2050 阅读(193) 评论(0) 推荐(0) 编辑
摘要: ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_ 阅读全文
posted @ 2016-01-28 21:54 tiandi2050 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 一、魔术函数(13个)1、__construct() 实例化对象时被调用, 当__construct和以类名为函数名的函数同时存在时,__construct将被调用,另一个不被调用。 2、__destruct() 当删除一个对象或对象操作终止时被调用。 3、__call() 对象调用某个方法, 若方 阅读全文
posted @ 2016-01-28 17:55 tiandi2050 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 一、1、获取当前域名:echo Yii::app()->request->hostInfo;结果:http://localhost2、获取(除域名外的)当前URL: echo Yii::app()->request->getUrl();结果:/CMS/public/index.php?r=news& 阅读全文
posted @ 2016-01-28 15:29 tiandi2050 阅读(649) 评论(0) 推荐(0) 编辑
摘要: 注意:目录的权限 chomd 777 -R 1、安装redis 下载:https://github.com/nicolasff/phpredis/archive/2.2.4.tar.gz 上传phpredis-2.2.4.tar.gz到/usr/local/src目录 cd /usr/local/s 阅读全文
posted @ 2016-01-28 13:05 tiandi2050 阅读(112) 评论(0) 推荐(0) 编辑
摘要: wget http://download.redis.io/redis-stable.tar.gz tar xvzf redis-stable.tar.gz cd redis-stable make 前面3步应该没有问题,主要的问题是执行make的时候,出现了异常。 异常一: make[2]: cc 阅读全文
posted @ 2016-01-27 22:54 tiandi2050 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 一、简介 Nginx是俄罗斯人编写的十分轻量级的HTTP服务器,Nginx,它的发音为 “engine X”, 是一个高性能的HTTP和反向代理服务器,同时也是一个IMAP/POP3/SMTP 代理服务器.Nginx是由俄罗斯人 Igor Sysoev为俄罗斯访问量第二的 Rambler.ru站点开 阅读全文
posted @ 2016-01-27 22:25 tiandi2050 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 今天在centos上编译php-5.5.15, [plain] view plaincopy cd php-5.5.15 ./configure --prefix=/usr/local/php/ --with-config-file-path=/usr/local/php/etc/ --enable 阅读全文
posted @ 2016-01-27 22:19 tiandi2050 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 查看数据库的字符集 show variables like 'character\_set\_%'; 输出: +--------------------------+--------+ | Variable_name | Value | +--------------------------+--- 阅读全文
posted @ 2016-01-27 17:12 tiandi2050 阅读(2533) 评论(0) 推荐(0) 编辑
摘要: function qq_status(){ if (empty($qq))$qq = 287959133; $url = 'http://wpa.qq.com/pa?p=2:'.$qq.':52'; $Headers = get_headers($url, 1); if (... 阅读全文
posted @ 2016-01-27 09:39 tiandi2050 阅读(476) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页