Heim  >  Artikel  >  Backend-Entwicklung  >  php报错,筹建egroupware,unexpected T_ARRAY, expecting '&' or T_VARIABLE

php报错,筹建egroupware,unexpected T_ARRAY, expecting '&' or T_VARIABLE

WBOY
WBOYOriginal
2016-06-13 12:33:231053Durchsuche

php报错,搭建egroupware,unexpected T_ARRAY, expecting '&' or T_VARIABLE
在windows-xp搭建egroupware环境
用了apache+mysql+php
版本号如下:
apache:2.0.50
mysql:4.0.20d
php:5.0.0
egroupware:1.8.004.20130831

在浏览器里面输入网址:http://127.0.0.1/egroupware
报以下错误:

Warning: set_error_handler() expects parameter 2 to be long, string given in C:\Apache Group\www\egroupware\phpgwapi\inc\common_functions.inc.php on line 1640

Parse error: parse error, unexpected T_ARRAY, expecting '&' or T_VARIABLE in C:\Apache Group\www\egroupware\setup\inc\class.setup.inc.php on line 986


按理来说egroupware这类开源的代码不会报错,是不是版本之类的不兼容,或者需要设置什么配置文件?

求助呀求助呀。。。

php apache egroupware mysql windows
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn