[我的日志] 乡村的结婚

2011.4 25

昨天回家参与了一场婚礼。 好久没有见到这样的场景了。我记得小时候去看新媳妇的时候,总会在新房内看到盆里放着葱。新媳妇坐在铺着很多床被子的床上,等着小孩来要糖。 有时候,会在床底或者别的地方放上硬币,等着 Read the rest of this entry

[AMP] php-header

2011.4 25

今天在apache的错误日志中发现如下一行: [Fri Apr 15 02:09:40 2011] [error] [client 119.177.37.124] PHP Warning: Header may not contain more than a single header, new line detected. in /www/blog/wp-content/plugins/backupwordpress/functions/core.functions.php on line 220, referer: http: Read the rest of this entry

[建站日志] Apache开启gzip

2011.4 22

无意中看到了一篇文章介绍wordpress加速的文章。其中一项就是开启apache的gzip功能。 现在http://www.port80software.com/products/httpzip/测试了一下服务器没有开启gzip功能。如果压缩后,加载速度还很快来。 用phpinfo输出变量_SERVER[“HTTP_ Read the rest of this entry

[我的日志] hacked by xugurx

2011.4 20

今天在浏览某个网站的时候,突然发现这个: 在google或者百度上搜索hacked by xugurx,还发现了不少类似的网站。啥时候,我也能入侵个网站玩玩?亦或是被别人入侵。 Read the rest of this entry

[我的日志] 百度竟然出了个百度经验

2011.4 19

看到月光博客上的几篇文章,我也萌想出在国外注册域名的想法。 或者说早就有这个想法。感觉生活在天朝,所有的东西都不是自己的。农民耕种的土地不是自己,集体所有。买的房子不是自己的,说不定什么时候就被拆了。 Read the rest of this entry

[Linux] mutt 无法发信

2011.4 16

在新服务器上用mutt测试的发信,却提示错误: shell>mutt -s “sdsfsa” sunliguo2006@qq.com </dev/null Error sending message, child exited 65 (Data format error.). Could not send the message. sendmaild的错误日志:    —– The following addresses had p Read the rest of this entry

[AMP] php支持gd库

2011.4 14

几次在编译php的时候加入–with-gd ,在make test 的时候都提示有错误。 我查看了centos默认安装的php-gd中,有gd.so文件和gd.ini的配置。我就干脆从centos 5.5安装盘中找到这php-gd-5.1.6-27.el5.i386.rpm这个安装包,然后把它直接解开试试。 Read the rest of this entry

[我的日志] 奔向2012

2011.4 14

自行车的前扎有点问题,今天晚上自己修了一下。顺便拍了一下里程表,1年多时间跑了2000多公里。记录一下! Read the rest of this entry

[AMP] mysql down

2011.4 14

无意中发现我的网站有时候访问是全部空白,httpd是启动起来了。但是在连接mysql的时候,却提示找不到/var/mysql/mysql.sock。 这个文件确实不在了,而通过netstat -ntlp 发现mysql还在监听。只有到mysqld的错误日志里看看是什么问题了。 Read the rest of this entry

[AMP] 网站大转移

2011.4 13

网站转移一是由于特殊特殊的原因,另外就是无觅插件和一个代码高亮显示的插件需要php 5的支持。 经过近一天的努力,网站算是基本完成了。但是还有很多遗留问题没有结局。例如awstats。 就在我写这篇文章的时候,数据库居 Read the rest of this entry

¥n