免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5603 | 回复: 5
打印 上一主题 下一主题

phpinfo中Local Value和Master Value有何区别? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-10-16 11:30 |只看该作者 |倒序浏览
一直没有认真看过phpinfo。今天在一位朋友的服务器上发布configure一项里,居然有Local Value和Master Value值不相同的情况,请各位帮忙解释下。谢谢。

另再问: php处理大文件(大于2G)时有什么好办法没?

论坛徽章:
0
2 [报告]
发表于 2006-10-16 12:25 |只看该作者
Local Value 针对虚拟机单独设置权限

论坛徽章:
0
3 [报告]
发表于 2006-10-16 13:09 |只看该作者
thanks

论坛徽章:
0
4 [报告]
发表于 2006-10-16 21:22 |只看该作者

PHP中处理大文件的解决办法

If you want to open large files (more than 2GB) that's what I did and it works: you should recompile your php with the CFLAGS="-D_FILE_OFFSET_BITS=64" ./configure etc... This tells to your compiler (I tested only gcc on PHP-4.3.4 binary on Linux and Solaris) to make the PHP parser binary large file aware. This way fopen() will not give you the "Value too large for defined data type" error message.

论坛徽章:
0
5 [报告]
发表于 2006-10-17 11:22 |只看该作者

回复 1楼 kedy 的帖子

i guess your name is  yanchg,am i right?

论坛徽章:
0
6 [报告]
发表于 2006-10-18 14:32 |只看该作者
Haha, You r right. Sun Jf
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP