Php reports an error. to set up egroupware, unexpectedT_ARRAY, expecting & # x27; & amp; & # x27; orT_VARIABLE, the apache + mysql + php version is used to build the egroupware environment in windows-xp: apache: 2.0.50mysql: 4.0.20dphp: 5.0.0egroupwa php error: set up egroupware, unexpected T_ARRAY, expecting '&' or T_VARIABLE
Build an egroupware environment in windows-xp
Apache + mysql + php
The version number is as follows:
Apache: 2.0.50
Mysql: 4.0.20d
Php: 5.0.0
Egroupware: 1.8.004.20130831
Enter the URL: http: // 127.0.0.1/egroupware in the browser.
The following error is reported:
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
Generally, open-source code such as egroupware does not report errors. is it incompatible with the version or the configuration file to be set?
Ask for help...
Php apache egroupware mysql windows
Share:
------ Solution --------------------
What version do you need. It should be caused by different php versions.
------ Solution --------------------
The parameter type declaration is added after php5.3.
------ Solution --------------------
Yes. the parameter type declaration is added after php5.3.
------ Solution --------------------
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
Obviously, your mysql is old!