1. No such file or directory: Failed to enable the ‘httpready’ Accept Filter
环境:FreeBSD 6.3-Release,Apache-2.2.8
相关模块:accf_http module (the function is to buffer incoming connections until a certain complete HTTP requests arrive.)用于检测请求的数据是否完整,否则抛弃,防止客户端恶意请求。
继续阅读…
目录:FreeBSD
(一)从port安装软件出现:cannot find -lgio-2.0错误
环境FreeBSD 7.0-RELEASE-p1,glib2.14.2
解决办法:升级glib2.14.2到glib-2.16.4
port: devel/glib20
继续阅读…
目录:FreeBSD
在使用FreeBSD6.3-release的时候,使用scim或者fcitx一直很头大,scim用ports安装非常顺利,可是一用起来,我几乎所有的Gnome下应用程序都轮番崩溃;而fcitx则经常出现屏幕乱码的问题,而且我又偏爱scim.倒是7.0-release出来以前,我就知道有了scim-fcitx,可是一直没有使用。到最近系统直接升级倒7.0以后开始安装。
/usr/bin/ld: cannot find -lgio-2.0
gmake: *** [libgiofam.la] Error 1
*** Error code 2
Stop in /usr/ports/devel/gio-fam-backend.
*** Error code
继续阅读…
目录:FreeBSD
标签: Gnome
比较后悔当初没有多掏点米米买个好点的本本,前年国庆节买的这个海尔W66的本本现在用起来真难受。前阵子运行windows xp开一个网页都到了风扇呼呼地响的程度,于是重装了系统,发现安装原版windows xp的速度比刚买时至少慢上20分钟。
今天把FreeBSD6.2升级到7.0,在make buildworld阶段两次自动关机,经观察是cpu过热关机。只好暂停工作,等本本凉透了,再接着make buildworld,到凌晨1点半左右make buildworld 总算完全完成了。
继续阅读…
目录:说点什么
1. 备份系统(FreeBSD6.3-release)
2. 使用FreeBSD6.2后系统自带的csup更新ports与src
#cp /usr/share/examples/cvsup/ports-supfile /root/ — update ports
#cp /usr/share/examples/cvsup/stable-supfile /root/ — update src
#vi /root/stable-supfile
继续阅读…
目录:FreeBSD
<?php
$currtime=time();
$currtimestr=strftime ("%H:%M:%S ",$currtime);
echo "The time is : ".$currtimestr;
print (strftime("%A"));
?>
在PHP5中,不能和PHP4一样使用date() , time() 等时间函数正确地取得本地时间, 不同的代码在不同的OS里会产生不同的结果。解决办法,为PHP5设置统一的时区:
编辑 “php.ini”,找到以下行修改:
date.timezone = PRC //PRC代表中华人民共和国
目录:PHP