Beyond All Only Zest==包子
Home Articles Download About
 

php5和php4的部分区别
Date: 2007-03-29 18:45
Views:0
为了折腾php的memcache,在本地装了个php5,结果发现php5里还是没有memcache的选项,然后我去cvs了一个php5,还是没有。。。郁闷了。

其实我是不推荐现在就使用php5的,你看看PHP5爆了多少漏洞了:)不过让我发现了不错的改进。

; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
allow_url_fopen = On

; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
allow_url_include = Off

现在多了一个url include的选项了,专门针对remote include漏洞设置的,不错不错。

还有一个问题
就是php5的session path默认是没有的,必须我们自己去设置才行
否则安全模式下出错

继续,用了adodb的,必须拷贝一个文件到include目录才行,具体文件我忘记了,就是什么inc的遇到的话看看报错信息就知道了
[addfavorite] [more] [top] [print] [close window]  
username: check code: 
content:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §new comment: