在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 1640Parse 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这类开源的代码不会报错,是不是版本之类的不兼容,或者需要设置什么配置文件?求助呀求助呀phpapacheegroupwaremysqlwindows
用了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 1640Parse 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这类开源的代码不会报错,是不是版本之类的不兼容,或者需要设置什么配置文件?求助呀求助呀phpapacheegroupwaremysqlwindows
Parse error: parse error, unexpected T_ARRAY, expecting '&' or T_VARIABLE in C:\Apache Group\www\egroupware\setup\inc\class.setup_process.inc.php on line 323
然后,我把入口参数中的arrary去掉,即
function droptables($setup_info,$DEBUG=False),就不报错了这到底怎么回事?????
<?php
$link=mysql_connect('127.0.0.1','root','123456');
if(!$link) echo "fail";
else echo "success";
mysql_close();
?>然后就显示fail在apache下的log信息中查询,发现:
[Thu Nov 14 14:10:19 2013] [error] [client 127.0.0.1] PHP Warning: mysql_connect(): Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.20a-nt in C:\\Apache Group\\www\\test.php on line 2
[Thu Nov 14 14:10:19 2013] [error] [client 127.0.0.1] PHP Warning: mysql_connect(): Connecting to 3.22, 3.23 & 4.0 servers is not supported in C:\\Apache Group\\www\\test.php on line 2
[Thu Nov 14 14:10:19 2013] [error] [client 127.0.0.1] PHP Warning: mysql_close(): no MySQL-Link resource supplied in C:\\Apache Group\\www\\test.php on line 5
嘛回事呀??纠结中^^^^
mysql5.1.41thanks