免费注册 查看新帖 |

Chinaunix

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

在win2k下装php4.32出很多错。各位近来看看。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-21 11:19 |只看该作者 |倒序浏览
很多undefine variable错误。

还有这些:

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of odbc_fetch_into(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in D:\www\include\odbc.inc on line 75

Fatal error: Cannot redeclare getfileupdatetime() in D:\www\exhibite\include_package\exhibite_display.class.php on line 360

我用的是apache2.46/win32,奇怪用以前的php4.2+IIS5没有任何问题的。

论坛徽章:
0
2 [报告]
发表于 2003-06-21 15:20 |只看该作者

在win2k下装php4.32出很多错。各位近来看看。

原帖由 "MaxBSD" 发表:
很多undefine variable错误。

还有这些:

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of o..........
   
为什么用win32呢?
换unix吧

论坛徽章:
0
3 [报告]
发表于 2003-06-21 17:53 |只看该作者

在win2k下装php4.32出很多错。各位近来看看。

呵呵,没办法。

论坛徽章:
0
4 [报告]
发表于 2003-06-22 03:51 |只看该作者

在win2k下装php4.32出很多错。各位近来看看。

Cannot redeclare 表示重复声明了类,或者重复加载了某个文件

检查 require 后的内容!把你的php.ini和httpd.conf帖上来

论坛徽章:
0
5 [报告]
发表于 2003-06-22 11:09 |只看该作者

在win2k下装php4.32出很多错。各位近来看看。

原帖由 "macleo" 发表:
Cannot redeclare 表示重复声明了类,或者重复加载了某个文件

检查 require 后的内容!把你的php.ini和httpd.conf帖上来
   

php.ini那里可能造成这样的错误?问题是在PHP4.12(CGI方式)+IIS5一点问题都没有阿(还是同一台机子)。

论坛徽章:
0
6 [报告]
发表于 2003-06-22 23:58 |只看该作者

在win2k下装php4.32出很多错。各位近来看看。

是啊!IIS5执行的是isapi的方式,而我们多安装php为apache的模块方式!当然,你也可以安装php为apache的cgi方式!但是,据说cgi方式执行php不是很安全的!所以推荐模块方式安装php在apache中!

检查 你的 文件 exhibite_display.class.php 是否有重复加载的东西

例如:require 或者 include 后的内容!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP